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

Disassembly:
mov eax, 0x150
call fcn.006021b0
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x70]
mov dword [esp + 8], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.005153a4
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.005153a4
mov eax, dword [edi + 0x2d]
lea ecx, [esp + 0x98]
push eax
mov dword [esp + 0x10], esi
call fcn.00513f68
mov ecx, dword [esp + 0x16c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0051503c
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, ecx
or edx, eax
je 0x4b9d65
cmp eax, esi
jg 0x4b990e
jl 0x4b9907
cmp ecx, esi
jae 0x4b990e
mov eax, 1
jmp 0x4b9910
xor eax, eax
xor eax, dword [esp + 0x1c]
cmp eax, 1
je 0x4b9d65
mov eax, dword [edi + 0x2d]
push ebx
push ebp
mov ecx, dword [eax + 0x59]
call fcn.004f19f0
mov ecx, dword [edi + 0x31]
push ecx
mov ecx, dword [edi + 0x2d]
call fcn.00407c30
mov ebx, eax
push esi
mov ecx, ebx
mov dword [esp + 0x40], ebx
call fcn.004f87ec
lea edx, [esp + 0x14]
lea ecx, [esp + 0x78]
push edx
call fcn.0051503c
mov edi, dword [esp + 0x170]
mov ecx, ebx
movsx esi, word [edi + 0x3f]
push esi
push 0x4e1
call fcn.004f9570
mov ebp, eax
xor eax, eax
cmp ebp, eax
je 0x4b9a3c
cmp dword [ebp + 0x1d], esi
jne 0x4b9a3c
mov cx, word [edi + 0x39]
lea esi, [edi + 0x35]
cmp cx, word [esi + 0xc]
je 0x4b9a3c
mov edx, dword [esp + 0x10]
mov edi, dword [esi]
mov ecx, dword [edx + 0x2d]
call fcn.00407270
mov ecx, dword [eax]
cmp edi, ecx
mov edi, dword [esp + 0x10]
jge 0x4b99dc
mov eax, dword [edi + 0x39]
mov ecx, ebp
push eax
push 0x4e1
call fcn.00416490
test eax, eax
je 0x4b99d2
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0xa4]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.004b9330
push ebp
mov ecx, ebx
call fcn.004164c0
mov ebp, eax
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.005153a4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
or eax, ecx
je 0x4b9c39
test ebp, ebp
je 0x4b9c39
mov cl, byte [ebp + 0x10]
mov eax, dword [edi + 0x39]
test cl, 2
jne 0x4b9a42
mov edx, dword [ebp]
push 0
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4b9a50
mov edi, dword [esp + 0x10]
jmp 0x4b99de
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004ebefc
mov esi, eax
test esi, esi
je 0x4b9c0c
lea ecx, [esp + 0x40]
call fcn.005153a4
mov al, byte [esi + 0x10]
push 0
test al, 2
push 0x63
jne 0x4b9a77
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x4b9a7f
mov ecx, dword [esi + 8]
call fcn.004ebdf0
test eax, eax
je 0x4b9a90
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.0051503c
mov al, byte [esi + 0x10]
push 0
test al, 2
push 0x65
jne 0x4b9aa4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
jmp 0x4b9aac
mov ecx, dword [esi + 8]
call fcn.004ebdf0
test eax, eax
je 0x4b9abd
mov eax, dword [eax + 8]
lea ecx, [esp + 0x40]
push eax
call fcn.005363c4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
or ecx, eax
je 0x4b9c0c
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
push edx
call fcn.00536868
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x4b9b4d
jl 0x4b9aed
mov eax, dword [esp + 0x1c]
test eax, eax
jae 0x4b9b4d
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
call fcn.005363c4
mov eax, dword [ebp + 0x1d]
test eax, eax
jle 0x4b9b5b
lea ecx, [esp + 0x68]
call fcn.004eae9c
mov cx, word [ebp + 0x1d]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004e8e24
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6e]
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.004e9d7c
lea edx, [esp + 0x68]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.004b9330
jmp 0x4b9b5b
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
push edx
call fcn.005363c4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
or eax, ecx
je 0x4b9c39
mov al, byte [esi + 0x10]
push 0
test al, 2
push 0x54
jne 0x4b9b7f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
jmp 0x4b9b87
mov ecx, dword [esi + 8]
call fcn.004ebdf0
mov ebx, eax
mov al, byte [esi + 0x10]
push 0
push 0x55
test al, 2
jne 0x4b9b9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x4b9ba5
mov ecx, dword [esi + 8]
call fcn.004ebdf0
mov edi, eax
mov al, byte [esi + 0x10]
push 0
push 0x52
test al, 2
jne 0x4b9bbb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
jmp 0x4b9bc3
mov ecx, dword [esi + 8]
call fcn.004ebdf0
test eax, eax
je 0x4b9bcc
mov eax, dword [eax + 8]
jmp 0x4b9bce
xor eax, eax
test edi, edi
je 0x4b9bd7
mov edx, dword [edi + 8]
jmp 0x4b9bd9
xor edx, edx
test ebx, ebx
je 0x4b9be2
mov ecx, dword [ebx + 8]
jmp 0x4b9be4
xor ecx, ecx
push eax
push edx
push ecx
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
call fcn.004b90f0
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
or eax, ecx
je 0x4b9c39
test byte [ebx + 0x10], 2
jne 0x4b9c29
mov eax, dword [ebp + 4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [ebx + 8]
push ebp
call fcn.004ec17c
mov ebp, eax
jmp 0x4b9a07
mov ecx, ebx
call fcn.004f883c
mov ecx, dword [edi + 0x2d]
mov ecx, dword [ecx + 0x59]
call fcn.004f1a08
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa4]
pop ebp
or edx, eax
pop ebx
je 0x4b9d19
mov edx, dword [esp + 0xa0]
mov eax, ecx
or eax, edx
jne 0x4b9c89
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
mov edx, eax
or edx, esi
je 0x4b9d20
lea ecx, [esp + 0x10c]
call fcn.00415980
lea ecx, [esp + 0xe4]
call fcn.004159b0
lea eax, [esp + 0x70]
lea ecx, [esp + 0xe4]
push eax
call fcn.0051503c
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00536868
lea edx, [esp + 0x98]
lea ecx, [esp + 0x10c]
push edx
call fcn.00514084
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10c]
push eax
call fcn.00512f54
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x110]
call fcn.00512fe0
lea edx, [esp + 0x10c]
push 1
push edx
lea ecx, [esp + 0xa0]
call fcn.005128a0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
or edx, esi
je 0x4b9d65
or ecx, dword [esp + 0xa0]
jne 0x4b9d3e
or eax, dword [esp + 0xb4]
je 0x4b9d65
mov ecx, dword [esp + 0x160]
lea eax, [esp + 0x70]
push eax
call fcn.005363c4
lea ecx, [esp + 0x98]
push 1
push ecx
mov ecx, dword [esp + 0x164]
call fcn.005128a0
pop edi
pop esi
add esp, 0x150
ret 0x14