Function at 0x549cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x7c38d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esi + 0x310]
mov dword [esp + 0x54], 0
mov eax, dword [ebp]
cmp eax, ebp
je 0x549d4f
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
cmp ebx, ecx
jne 0x549d47
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.00624730
mov edi, dword [eax]
push 0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov dword [edx + 4], eax
call fcn.0054bc70
push edi
call fcn.007a02e0
mov eax, dword [esi + 0x314]
add esp, 4
dec eax
mov dword [esi + 0x314], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebp
jne 0x549cf3
jmp 0x549d53
mov ebx, dword [esp + 0x5c]
mov edi, dword [esi + 0x300]
mov eax, dword [edi]
cmp eax, edi
je 0x549da9
cmp ebx, dword [eax + 8]
jne 0x549da3
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00624730
mov eax, dword [eax]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.007a02e0
mov eax, dword [esi + 0x304]
add esp, 4
dec eax
mov dword [esi + 0x304], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, edi
jne 0x549d5f
mov ecx, dword [0x9ea1d4]
mov ebp, dword [ecx + 0x4c8]
cmp ebx, ebp
mov ebx, dword [esp + 0x74]
je 0x549e79
mov eax, dword [esi + 0x314]
test eax, eax
je 0x549e07
mov edi, dword [esi + 0x310]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x74], eax
je 0x549e07
cmp ebp, dword [eax + 8]
je 0x549e00
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x7c]
call fcn.00624730
mov eax, dword [esp + 0x74]
mov ecx, dword [0x9ea1d4]
cmp eax, edi
jne 0x549ddb
jmp 0x549e07
add eax, 8
test eax, eax
jne 0x549e79
mov eax, 1
cmp ebx, eax
jne 0x549e15
mov eax, 2
mov edx, dword [ecx + 0x4e4]
push edx
mov edx, dword [ecx + 0x87c]
push edx
mov edx, dword [ecx + 0x880]
push edx
mov edx, dword [ecx + 0x4f0]
push edx
mov edx, dword [ecx + 0x4f4]
push edx
mov edx, dword [ecx + 0x4e8]
push edx
push eax
mov eax, dword [ecx + 0x4ec]
push eax
call fcn.0054a0b0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.004267d0
mov ecx, dword [0x9ea1d4]
mov byte [esp + 0x84], 0
call fcn.0054a0c0
push eax
mov ecx, esi
call fcn.00549cc0
mov cl, byte [esp + 0x5c]
push 0
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
call fcn.00404e60
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 2
call fcn.00549fd0
mov eax, dword [0x7e565c]
mov edx, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x64]
push 0
push ecx
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], edx
call fcn.00404c60
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x8c]
lea ecx, [esi + 0x30c]
mov dword [esp + 0x30], eax
cmp ebx, 1
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 4]
jne 0x549f3b
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0054b940
mov eax, dword [esi + 0x300]
lea ecx, [esi + 0x2fc]
lea edx, [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x64]
jmp 0x549f61
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0054b940
mov eax, dword [esi + 0x300]
lea ecx, [esi + 0x2fc]
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00411710
mov eax, dword [esi + 0x310]
mov ecx, esi
mov edi, dword [eax + 4]
call fcn.0054a5a0
lea esi, [edi + 8]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
call fcn.00404e60
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], 0xffffffff
test ecx, ecx
je 0x549fb6
mov al, byte [ecx - 1]
test al, al
je 0x549fac
cmp al, 0xff
je 0x549fac
dec al
mov byte [ecx - 1], al
jmp 0x549fb6
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 0x34