Function at 0x49a2a0
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 0x49a5b8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49a5b8
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x49a2d4
cmp eax, 0x61
je 0x49a2d4
cmp eax, 0x62
jne 0x49a5b8
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x49a5b8
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x49a2f1
call fcn.004a0f20
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 0x49a319
test eax, eax
je 0x49a319
mov edx, dword [eax + 8]
test edx, edx
je 0x49a319
inc dword [esi]
jmp 0x49a303
push edi
mov edi, dword [esi]
cmp edi, 0x20
jle 0x49a32c
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
dec edi
push ebx
js 0x49a36a
lea ebx, [esi + edi*4 + 4]
mov al, byte [esi + 0x118]
test al, al
je 0x49a356
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.00476c50
mov dword [ebx + 0x94], eax
jmp 0x49a35b
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x49a36a
dec edi
sub ebx, 4
test edi, edi
jge 0x49a334
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
xor edx, edx
test eax, eax
je 0x49a5ac
jmp 0x49a380
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x49a38e
cmp dword [ecx + 0x78], 4
jne 0x49a38e
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x49a380
test edx, edx
je 0x49a5ac
shl edx, 4
push edx
call fcn.005ddbe0
add esp, 4
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x49a3bf
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 0x49a4fc
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49a4f1
cmp dword [eax + 0x78], 4
jne 0x49a4f1
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.0048d3f0
add esp, 0x18
test al, al
je 0x49a3b3
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.0043cae0
push edi
call fcn.005ddc00
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.0043d060
mov eax, dword [esp + 0x20]
cmp dword [edi], eax
jne 0x49a463
test eax, eax
jne 0x49a463
mov dword [edi], eax
jmp 0x49a46d
push eax
push edi
call fcn.005dd250
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 0x49a4bc
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00476c50
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 0xc], eax
jmp 0x49a4d2
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 0x49a3d0
mov ecx, dword [esi + 0x88]
dec ecx
mov dword [esp + 0x1c], ecx
js 0x49a59b
lea ecx, [ecx]
cmp ecx, 1
jl 0x49a590
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 0x49a582
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 0x49a520
dec ecx
mov dword [esp + 0x1c], ecx
jns 0x49a510
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.00498b80
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