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

Disassembly:
sub esp, 0x58
mov eax, dword [0x50db60]
push ebx
lea ecx, [esp + 8]
push ebp
xor ebx, ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
or ebp, 0xffffffff
cmp ecx, ebx
push edi
mov dword [esp + 0x6c], ebx
mov edi, eax
je 0x499fe0
cmp eax, ebx
je 0x499fe0
push esi
push 0x64
call fcn.004c0d29
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x499ef8
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x44], ebx
mov dword [esi], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.004aaaa0
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x499e20
sub eax, edx
inc eax
push eax
call fcn.004c0d29
add esp, 4
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x499ef3
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x499e44
mov byte [esi + 0x5c], bl
mov cl, 0x72
cmp byte [edi], cl
jne 0x499e5a
mov byte [esi + 0x5c], cl
mov al, byte [edi]
cmp al, 0x77
je 0x499e64
cmp al, 0x61
jne 0x499e68
mov byte [esi + 0x5c], 0x77
mov al, byte [edi]
cmp al, 0x30
jl 0x499e7a
cmp al, 0x39
jg 0x499e7a
movsx ebp, al
sub ebp, 0x30
jmp 0x499ea1
cmp al, 0x66
jne 0x499e88
mov dword [esp + 0x70], 1
jmp 0x499ea1
cmp al, 0x68
jne 0x499e96
mov dword [esp + 0x70], 2
jmp 0x499ea1
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc edx
mov dword [esp + 0x10], edx
inc edi
cmp al, bl
je 0x499eb2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x64]
cmp eax, edx
jne 0x499e53
mov al, byte [esi + 0x5c]
cmp al, bl
je 0x499ef3
cmp al, 0x77
jne 0x499f0b
mov eax, dword [esp + 0x70]
push 0x38
push str.1.1.4
push eax
push 8
push 0xfffffffffffffff1
push 8
push ebp
push esi
call fcn.004aa710
push 0x4000
mov edi, eax
call fcn.004c0d29
add esp, 0x24
cmp edi, ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
jne 0x499ef3
cmp eax, ebx
jne 0x499f35
call fcn.00499b00
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
call fcn.004bff5b
add esp, 0x58
ret
push 0x4000
call fcn.004c0d29
push 0x38
push str.1.1.4
push 0xfffffffffffffff1
push esi
mov dword [esi + 0x44], eax
mov dword [esi], eax
call fcn.004aa9a0
add esp, 0x14
test eax, eax
jne 0x499ef3
cmp dword [esi + 0x44], ebx
je 0x499ef3
mov dword [esi + 0x10], 0x4000
call fcn.004c1cff
mov dword [eax], ebx
mov eax, dword [esp + 0x74]
cmp eax, ebx
lea ecx, [esp + 0x14]
push ecx
jge 0x499f5c
mov edx, dword [esp + 0x70]
push edx
call fcn.004bebed
jmp 0x499f62
push eax
call fcn.004c1f7e
add esp, 8
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x499ef3
cmp byte [esi + 0x5c], 0x77
jne 0x499fb2
mov edx, dword [0x50c170]
mov ecx, dword [0x50c16c]
push 0xb
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 8
push edx
push ecx
push str._c_c_c_c_c_c_c_c_c_c
push eax
call fcn.004bf2c5
add esp, 0x30
mov dword [esi + 0x60], 0xa
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
call fcn.004bff5b
add esp, 0x58
ret
mov eax, esi
call fcn.00499720
mov edx, dword [esi + 0x40]
push edx
call fcn.004c1f3d
mov ecx, dword [esi + 4]
add esp, 4
sub eax, ecx
mov dword [esi + 0x60], eax
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
call fcn.004bff5b
add esp, 0x58
ret
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
xor eax, eax
pop ebx
call fcn.004bff5b
add esp, 0x58
ret