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

Disassembly:
sub esp, 0x218
push ebp
push edi
mov edi, dword [esp + 0x23c]
xor ebp, ebp
cmp edi, ebp
jne 0x4b91a1
pop edi
lea eax, [ebp - 4]
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0x224]
push esi
cmp eax, ebp
jne 0x4b9203
mov edx, dword [esp + 0x22c]
cmp edx, ebp
je 0x4b91ce
mov ecx, dword [esp + 0x230]
cmp ecx, ebp
je 0x4b91ce
mov eax, dword [esp + 0x234]
cmp eax, ebp
jne 0x4b91dd
pop esi
pop edi
mov eax, 0xfffffffc
pop ebp
add esp, 0x218
ret
mov esi, dword [esp + 0x23c]
push esi
mov esi, dword [esp + 0x23c]
push esi
push eax
push ecx
push edx
push edi
call fcn.004b8fe0
add esp, 0x18
pop esi
pop edi
pop ebp
add esp, 0x218
ret
cmp dword [esp + 0x22c], ebp
je 0x4b97dc
cmp dword [esp + 0x230], ebp
je 0x4b97dc
cmp dword [esp + 0x234], ebp
je 0x4b97dc
lea eax, [esp + 0x40]
mov edx, 4
mov ecx, 4
mov dword [eax - 0x10], ebp
mov dword [eax], ebp
add eax, 0x20
sub ecx, 1
jne 0x4b9238
sub edx, 1
jne 0x4b9233
lea eax, [esp + 0x34]
push ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
jmp 0x4b9262
xor ebp, ebp
mov ebx, dword [esp + 0x10]
lea ecx, [ebx - 0x10]
push 0x14
push ecx
call fcn.004b0a10
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
push 0x14
push ebx
call fcn.004b0a10
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
inc ebp
add ebx, 0x20
cmp ebp, 4
jb 0x4b9266
mov eax, dword [esp + 0x14]
sub dword [esp + 0x10], 0xffffff80
inc eax
mov dword [esp + 0x14], eax
cmp eax, 4
jb 0x4b9260
mov ebx, dword [esp + 0x22c]
push ebx
call fcn.004b6010
mov esi, dword [esp + 0x234]
push esi
mov ebp, eax
call fcn.004b6010
add esp, 8
cmp ebp, eax
jae 0x4b9390
mov edx, dword [edi + 4]
cmp dword [edx + 0x44], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xa8]
je 0x4b932a
mov eax, edx
mov edx, dword [esp + 0x234]
push eax
mov eax, dword [eax + 0x44]
push ecx
push edx
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4b979d
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x238]
push eax
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0xbc]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x4b935d
mov edx, dword [esp + 0x234]
push ecx
push edx
call fcn.004b0ae0
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
mov ecx, dword [esp + 0x238]
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.004b0ae0
add esp, 8
mov esi, eax
test esi, esi
jl 0x4b979d
lea edx, [esp + 0x48]
push edx
lea eax, [edi + 0x2c]
push eax
call fcn.004b0ae0
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
lea ecx, [esp + 0x58]
push ecx
lea edx, [edi + 0x3c]
push edx
jmp 0x4b9446
lea eax, [esp + 0xa8]
push eax
lea ecx, [edi + 0x2c]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], esi
call fcn.004b0ae0
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
lea edx, [esp + 0xb8]
push edx
lea eax, [edi + 0x3c]
push eax
call fcn.004b0ae0
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
mov ecx, dword [edi + 4]
cmp dword [ecx + 0x44], 0
je 0x4b941a
mov eax, ecx
mov ecx, dword [esp + 0x234]
push eax
lea edx, [esp + 0x4c]
push edx
mov edx, dword [eax + 0x44]
push ecx
call edx
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4b979d
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x238]
push eax
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0x5c]
push ecx
push edx
call eax
add esp, 0xc
jmp 0x4b944e
mov edx, dword [esp + 0x234]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.004b0ae0
mov esi, eax
add esp, 8
test esi, esi
jl 0x4b979d
mov ecx, dword [esp + 0x238]
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.004b0ae0
add esp, 8
mov esi, eax
test esi, esi
jl 0x4b979d
lea edx, [esp + 0x28]
push edx
call fcn.004b0c60
lea eax, [esp + 0x3c]
push eax
call fcn.004b0c60
push edi
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x138]
push edx
mov edx, dword [edi + 0x68]
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xc0]
push ecx
call edx
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
push edi
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x1b0]
push ecx
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x138]
push eax
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xc0]
push edx
call eax
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
mov ebp, 1
lea ebx, [esp + 0xc8]
mov edi, edi
push edi
lea ecx, [ebx + 0x10]
push ecx
push ebx
lea edx, [ebx - 0x10]
push edx
lea eax, [ebx - 0x20]
push eax
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x60]
push edx
call eax
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
inc ebp
sub ebx, 0xffffff80
cmp ebp, 4
jb 0x4b94f0
push edi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x70]
push edx
mov edx, dword [edi + 0x68]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x58]
push ecx
call edx
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x4b979d
mov ebp, 1
lea ebx, [esp + 0xe8]
push edi
lea eax, [ebx + 0x10]
push eax
push ebx
lea ecx, [ebx - 0x30]
push ecx
lea edx, [ebx - 0x40]
push edx
mov edx, dword [edi + 0x60]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x80]
push ecx
call edx
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
inc ebp
sub ebx, 0xffffff80
cmp ebp, 4
jb 0x4b9556
push edi
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x60]
push edx
call eax
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
mov ebp, 1
lea ebx, [esp + 0x108]
push edi
lea ecx, [ebx + 0x10]
push ecx
push ebx
lea edx, [ebx - 0x50]
push edx
lea eax, [ebx - 0x60]
push eax
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xa0]
push edx
call eax
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
inc ebp
sub ebx, 0xffffff80
cmp ebp, 4
jb 0x4b95d5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004b6010
mov ebx, dword [esp + 0x240]
inc eax
shr eax, 1
push ebx
mov dword [esp + 0x2c], eax
call fcn.004b0c60
mov ebp, dword [esp + 0x248]
push ebp
call fcn.004b0c60
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x4b9771
lea esi, [eax + eax]
jmp 0x4b9655
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
dec dword [esp + 0x14]
sub esi, 2
mov dword [esp + 0x24], esi
push edx
inc esi
call fcn.004b6010
add esp, 4
cmp esi, eax
jb 0x4b967c
mov dword [esp + 0x1c], 0
jmp 0x4b968e
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.004b5f40
add esp, 8
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
shl dword [esp + 0x1c], 1
push ecx
call fcn.004b6010
mov ecx, dword [esp + 0x28]
add esp, 4
cmp ecx, eax
jb 0x4b96ab
xor eax, eax
jmp 0x4b96b9
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.004b5f40
add esp, 8
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004b6010
add esp, 4
cmp esi, eax
jb 0x4b96dc
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
jmp 0x4b96ee
push esi
mov esi, dword [esp + 0x14]
push esi
call fcn.004b5f40
add esp, 8
mov dword [esp + 0x18], eax
shl dword [esp + 0x18], 1
push esi
call fcn.004b6010
mov ecx, dword [esp + 0x28]
add esp, 4
cmp ecx, eax
jb 0x4b9707
xor eax, eax
jmp 0x4b9711
push ecx
push esi
call fcn.004b5f40
add esp, 8
mov ecx, dword [edi + 0x68]
or dword [esp + 0x18], eax
push edi
push ebp
push ebx
push ebp
push ebx
call ecx
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x4b979d
mov edx, dword [edi + 0x68]
push edi
push ebp
push ebx
push ebp
push ebx
call edx
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x4b979d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
lea eax, [eax + ecx*4]
mov ecx, dword [edi + 0x60]
push ebp
shl eax, 5
push ebx
lea edx, [esp + eax + 0x44]
push edx
lea eax, [esp + eax + 0x38]
push eax
push ebp
push ebx
call ecx
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4b979d
cmp dword [esp + 0x14], 0
ja 0x4b9651
mov edx, dword [edi + 4]
cmp dword [edx + 0x48], 0
je 0x4b979d
mov eax, edx
push eax
mov eax, dword [eax + 0x48]
push ebx
push ebx
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4b979d
mov edi, dword [edi + 4]
mov ecx, dword [edi + 0x48]
push edi
push ebp
push ebp
call ecx
add esp, 0xc
mov esi, eax
lea edi, [esp + 0x38]
mov ebp, 4
mov ebx, 4
jmp 0x4b97b0
lea edx, [edi - 0x10]
push edx
call fcn.004b0c10
push edi
call fcn.004b0c10
add esp, 8
add edi, 0x20
sub ebx, 1
jne 0x4b97b0
sub ebp, 1
jne 0x4b97a6
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
add esp, 0x218
ret
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x238]
push ecx
push edx
push ebp
push ebp
push eax
push edi
call fcn.004b8fe0
add esp, 0x18
pop esi
pop edi
pop ebp
add esp, 0x218
ret