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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x30]
test ebp, ebp
push esi
mov esi, ecx
je 0x49a338
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49a338
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x49a054
cmp eax, 0x61
je 0x49a054
cmp eax, 0x62
jne 0x49a338
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x49a338
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x49a071
call fcn.004a0d20
mov ecx, dword [esi + 0x94]
mov dword [esp + 0xc], eax
mov dword [esi], 1
mov eax, ebp
mov eax, dword [eax + 8]
cmp eax, ecx
je 0x49a099
test eax, eax
je 0x49a099
mov edx, dword [eax + 8]
test edx, edx
je 0x49a099
inc dword [esi]
jmp 0x49a083
push edi
mov edi, dword [esi]
cmp edi, 0x20
jle 0x49a0ac
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
dec edi
push ebx
js 0x49a0ea
lea ebx, [esi + edi*4 + 4]
mov al, byte [esi + 0x118]
test al, al
je 0x49a0d6
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.00476a70
mov dword [ebx + 0x94], eax
jmp 0x49a0db
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x49a0ea
dec edi
sub ebx, 4
test edi, edi
jge 0x49a0b4
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
xor edx, edx
test eax, eax
je 0x49a32c
jmp 0x49a100
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x49a10e
cmp dword [ecx + 0x78], 4
jne 0x49a10e
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x49a100
test edx, edx
je 0x49a32c
shl edx, 4
push edx
call fcn.005dd330
add esp, 4
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x49a13f
pop ebx
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x49a27c
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49a271
cmp dword [eax + 0x78], 4
jne 0x49a271
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x7fffffff
push 0
push ebp
mov dword [esp + 0x30], 0
call fcn.0048d110
add esp, 0x18
test al, al
je 0x49a133
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push ecx
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.0043c970
push edi
call fcn.005dd350
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x90]
mov ebx, dword [eax + 0x10]
lea edi, [esi + 0x90]
add esp, 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0043cef0
mov eax, dword [esp + 0x20]
cmp dword [edi], eax
jne 0x49a1e3
test eax, eax
jne 0x49a1e3
mov dword [edi], eax
jmp 0x49a1ed
push eax
push edi
call fcn.005dc9a0
add esp, 8
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
add edx, ebx
shl eax, 4
mov dword [esi + 0x84], edx
mov dword [eax + ecx], ebx
mov al, byte [esi + 0x118]
test al, al
je 0x49a23c
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00476a70
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 0xc], eax
jmp 0x49a252
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, dword [ebp + 0x1c]
shl eax, 4
mov dword [eax + ecx + 4], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x88]
mov eax, dword [eax + 0x24]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 8], eax
inc dword [esi + 0x88]
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x49a150
mov ecx, dword [esi + 0x88]
dec ecx
mov dword [esp + 0x1c], ecx
js 0x49a31b
lea ecx, [ecx]
cmp ecx, 1
jl 0x49a310
mov edx, 0x10
mov dword [esp + 0x20], ecx
mov edi, edi
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + edx - 8]
mov ebx, dword [eax + edx + 8]
add eax, edx
cmp edi, ebx
jle 0x49a302
lea ecx, [eax - 0x10]
mov ebp, ecx
mov edi, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x30], ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x49a2a0
dec ecx
mov dword [esp + 0x1c], ecx
jns 0x49a290
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.00498900
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x24
ret 8
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8