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

Disassembly:
sub esp, 0xcc
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x499cb7
mov eax, dword [eax + 8]
test eax, eax
jne 0x499cd1
mov eax, dword [esp + 0xd4]
push eax
call fcn.0043d810
add esp, 4
pop ebx
add esp, 0xcc
ret 8
mov ecx, dword [eax + 0x3e0]
push esi
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.0043ea70
add esp, 8
mov esi, ebx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x499cf4
mov eax, dword [eax + 8]
jmp 0x499cf6
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x499d3f
mov ecx, esi
call fcn.00449f80
test eax, eax
je 0x499d24
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x58]
push eax
add edx, 0x34c
push edx
push eax
call fcn.0043e660
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
lea edx, [esi + 0x30]
push edx
mov eax, ecx
push eax
call fcn.0043e660
mov esi, dword [esi + 8]
add esp, 0xc
test esi, esi
jne 0x499ce8
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x499d4b
mov eax, dword [eax + 8]
jmp 0x499d4d
xor eax, eax
push ebp
lea ecx, [esp + 0x5c]
push ecx
push eax
mov edx, ecx
push edx
call fcn.0043e660
mov ebp, dword [esp + 0xe8]
push ebp
call fcn.0043d810
mov eax, dword [ebx + 0x18]
add esp, 0x10
test eax, eax
je 0x49a23f
mov ecx, dword [eax + 0x78]
cmp ecx, 6
je 0x499d84
cmp ecx, 0x61
jne 0x499dc7
mov al, byte [esp + 0xe0]
test al, al
je 0x499dad
push 1
push 1
push ebp
lea eax, [ebx + 0x30]
push eax
push ebx
call fcn.00493af0
add esp, 0x14
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
push 0
push 1
push ebp
push ebx
call fcn.00493c50
add esp, 0x10
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
test eax, eax
je 0x49a23f
cmp dword [eax + 0x78], 9
jne 0x499dfb
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x18]
push ebp
call fcn.00433070
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0043e440
add esp, 0xc
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
test eax, eax
je 0x49a23f
cmp dword [eax + 0x78], 2
jne 0x49a23f
mov ecx, dword [eax + 0x68]
mov dl, byte [ecx + 0x5ee]
test dl, dl
push edi
je 0x499fd3
test dword [ebx + 0x54], 0x2000000
je 0x499e2f
mov edx, dword [ebx + 0x78]
mov ebx, dword [edx]
jmp 0x499e32
mov ebx, dword [ebx + 0x78]
test ebx, ebx
je 0x49a23e
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x49a23e
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0xe4]
test al, al
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x499e78
mov eax, 1
mov dword [esp + 0x14], 4
jmp 0x499e82
xor eax, eax
mov dword [esp + 0x14], 1
cmp eax, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], esi
jge 0x49a23e
mov eax, dword [esp + esi*4 + 0x1c]
test eax, eax
je 0x499fb5
mov edi, dword [eax + 0x38]
test edi, edi
je 0x499fb5
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [edi + 0x30]
push edx
call fcn.0043e660
mov al, byte [esp + 0xf0]
add esp, 0xc
test al, al
jne 0x499f12
mov eax, dword [edi + 0x18]
test eax, eax
je 0x499f12
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x499ee1
cmp eax, 0x61
jne 0x499f12
push 1
push 0
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edi
call fcn.00493af0
push ebp
lea edx, [esp + 0xc4]
push ebp
push edx
call fcn.0043f920
add esp, 0x20
jmp 0x499fb5
lea esi, [edi + 0x7c]
mov eax, esi
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
push esi
lea eax, [esp + 0x94]
mov dword [esp + 0x88], ecx
push eax
mov ecx, edi
mov dword [esp + 0x90], edx
call fcn.00496860
mov al, byte [esp + 0xe4]
test al, al
je 0x499f7f
push 0
mov ecx, edi
call fcn.00492130
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xe0]
push eax
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x40], edx
push eax
jmp 0x499f89
mov eax, dword [esp + 0xe0]
push eax
push eax
push esi
call fcn.0043f920
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0xec]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov esi, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x499e92
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x49a23e
mov eax, dword [eax + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
call fcn.00401580
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x70]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
call fcn.0049cc10
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
mov eax, dword [esp + 0x40]
jne 0x49a018
add eax, 2
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x3c]
mov cl, byte [eax + edi]
inc eax
test cl, cl
mov byte [esp + 0x13], cl
je 0x49a23e
xor ebp, ebp
mov edi, edi
lea esi, [eax + edi]
add eax, 2
mov dword [esp + 0x40], eax
xor ecx, ecx
mov ch, byte [esi + 1]
xor edx, edx
mov cl, byte [esi]
mov esi, ecx
lea ecx, [eax + edi]
add eax, 2
mov dword [esp + 0x40], eax
mov dh, byte [ecx + 1]
lea eax, [esp + 0x90]
push eax
mov dl, byte [ecx]
lea ecx, [esp + 0x40]
add dx, word [ebx + 0x1c]
mov edi, edx
call fcn.0049e7c0
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x7e], 0x22
jne 0x49a087
push 1
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x44]
call fcn.0049e910
test byte [esp + 0x13], 0x10
je 0x49a0cb
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x49a0a3
call fcn.004a0f20
cmp eax, 8
jl 0x49a0cb
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call fcn.00448f80
lea ecx, [esp + 0x1c]
call fcn.00448f10
test byte [esp + 0x13], 0x20
je 0x49a0f0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x49a0e7
call fcn.004a0f20
cmp eax, 8
jl 0x49a0f0
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push esi
call fcn.0049dc20
mov esi, eax
test byte [esp + 0x13], 8
mov dword [esp + 0x14], esi
je 0x49a226
cmp esi, ebp
je 0x49a226
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00477360
mov ebp, eax
mov eax, dword [ebx + 0x2c]
add esp, 4
push eax
mov ecx, ebp
call fcn.0044da50
movzx ecx, di
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], esi
lea edi, [ebp + 0x30]
mov ecx, 7
lea esi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xac]
call fcn.0046bcb0
lea edx, [esp + 0xac]
push edx
mov ecx, ebp
call fcn.00495ad0
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x78], 9
jne 0x49a18d
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp + 0x20]
call fcn.00479360
mov ecx, ebp
call fcn.00496520
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.0043e660
add esp, 0xc
lea esi, [ebp + 0x7c]
push esi
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebp
call fcn.00496860
mov al, byte [esp + 0xe4]
test al, al
je 0x49a209
mov eax, dword [edi + 0x78]
cmp eax, 9
je 0x49a21b
cmp eax, 4
je 0x49a21b
push 0
mov ecx, ebp
call fcn.00492130
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe0]
push eax
push eax
lea ecx, [esp + 0x34]
push ecx
jmp 0x49a213
mov eax, dword [esp + 0xe0]
push eax
push eax
push esi
call fcn.0043f920
add esp, 0xc
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
xor ebp, ebp
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov cl, byte [eax + edi]
inc eax
test cl, cl
mov byte [esp + 0x13], cl
jne 0x49a030
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8