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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4b9068
sub esp, 0x108
xor ebx, ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp], ebx
call fcn.004b8000
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
cmp ecx, 0
je 0x4b85b8
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
nop
call fcn.0042a350
add esp, 0x108
ret
mov ebx, dword [esp + 0x114]
mov dword [esp], ebx
mov ebx, dword [esp + 0x110]
mov ebx, dword [ebx + 0x14]
call ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0xf8], ebx
mov edi, dword [esp + 8]
mov dword [esp + 0xfc], edi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x100], esi
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x104], ebp
movzx ebx, byte [esp + 0x14]
cmp bl, 0
je 0x4b86ce
mov edx, dword [esp + 0xf8]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], edi
cmp edi, 0
jne 0x4b9061
cmp edx, 0
jne 0x4b9061
mov ebx, dword [esp + 0xf0]
cmp ebx, 0
jne 0x4b9061
mov eax, 1
cmp al, 0
jne 0x4b86ce
mov ebx, dword [esp + 0x10c]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004b7110
mov ebx, dword [esp + 0x10c]
mov dword [esp + 8], ebx
mov ebx, dword [0x6c9960]
mov dword [esp + 0xc], ebx
mov ebx, dword [0x6c9964]
mov dword [esp + 0x10], ebx
mov ebx, dword [0x6c9968]
mov dword [esp + 0x14], ebx
mov ebx, dword [0x6c996c]
mov dword [esp + 0x18], ebx
mov dword [esp], 0x1c
mov eax, 0x61aca0
mov dword [esp + 4], eax
call fcn.00429480
cmp eax, 0
jne 0x4b9054
mov ebx, dword [esp + 0x10c]
cmp ebx, 0
je 0x4b904d
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0xd8], edx
mov dword [esp + 0x7c], ecx
cmp ecx, 3
jne 0x4b8fca
mov dword [esp], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f69ea
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.004535f0
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b8fca
mov eax, 1
cmp al, 0
jne 0x4b8865
mov ebx, dword [esp + 0x10c]
mov ebp, dword [ebx + 0x10]
mov dword [esp], ebp
mov ebx, dword [esp + 0x120]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 8], ebx
mov edx, dword [0x6c582c]
mov ebx, dword [edx]
call ebx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, 0x5f73fd
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 7
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0x84], edx
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x80], ecx
cmp ecx, 0
jne 0x4b87e2
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x128], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x12c], ecx
nop
call fcn.0042a350
add esp, 0x108
ret
mov dword [esp], 0x5d2540
call fcn.0040f320
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x6c]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x68]
cmp byte [0x6dae38], 0
jne 0x4b8853
mov dword [ecx], ebp
mov ebp, dword [esp + 0x80]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x84]
cmp byte [0x6dae38], 0
jne 0x4b883e
mov dword [ecx + 0xc], ebp
mov edx, 0x6b1cb0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
jmp 0x4b87bf
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8829
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b880c
mov ebx, dword [esp + 0x118]
cmp ebx, 0
jne 0x4b8a65
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x124]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], eax
xor ebx, ebx
cmp eax, ebx
jne 0x4b88e5
mov ebx, 0x5fd402
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 0x1a
mov dword [esp], 0x5c4e00
lea ebx, [esp + 0xe0]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040c410
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.0042a780
ud2
mov ebp, dword [eax + 4]
mov ecx, dword [ebp + 8]
cmp ecx, 0x61a1523f
jne 0x4b8f63
mov ebx, eax
xor ebp, ebp
cmp eax, ebp
je 0x4b8902
mov ebx, dword [ebx + 4]
mov ebp, 0x5ca740
cmp ebx, ebp
jne 0x4b8fc3
mov edx, 1
cmp dl, 0
je 0x4b8f63
mov dword [esp], 0x5d9e00
call fcn.0040f320
mov edi, dword [esp + 4]
mov ebx, edi
cmp edi, 0
je 0x4b8f5c
xor eax, eax
call fcn.004539ba
mov eax, ebx
mov ecx, 0x6b1d30
mov ebx, dword [esp + 0x10c]
mov ebp, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 0x118], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x11c], eax
mov dword [esp + 8], eax
call fcn.00457e60
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ecx
cmp ecx, 0
je 0x4b8a65
mov ebx, 0x5f6c09
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 4
mov dword [esp + 0x94], edx
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x90], ecx
cmp ecx, 0
jne 0x4b89e2
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x128], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x12c], ecx
nop
call fcn.0042a350
add esp, 0x108
ret
mov dword [esp], 0x5d2540
call fcn.0040f320
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x74]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x70]
cmp byte [0x6dae38], 0
jne 0x4b8a53
mov dword [ecx], ebp
mov ebp, dword [esp + 0x90]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x94]
cmp byte [0x6dae38], 0
jne 0x4b8a3e
mov dword [ecx + 0xc], ebp
mov edx, 0x6b1cb0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
jmp 0x4b89bf
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8a29
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8a0c
mov eax, dword [esp + 0x10c]
cmp eax, 0
je 0x4b8f55
add eax, 0x84
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x120]
mov dword [eax + 0x34], ebp
mov ebp, dword [esp + 0x124]
cmp byte [0x6dae38], 0
jne 0x4b8f41
mov dword [eax + 0x38], ebp
mov dword [esp], 0x5bab80
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00404ec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov dword [esp], 4
mov eax, 0x61ac8c
mov dword [esp + 4], eax
call fcn.00429480
cmp eax, 0
jne 0x4b8f34
mov ebx, dword [esp + 0x110]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp], 0x10
mov eax, 0x61ac90
mov dword [esp + 4], eax
call fcn.00432a00
mov ebx, dword [0x6c8fb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov ebx, 0x5f79c2
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 9
mov ebx, 0x61ac94
mov dword [esp + 0x10], ebx
call fcn.004b77c0
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], eax
cmp eax, 0
je 0x4b8e04
mov ebx, dword [esp + 0x114]
mov dword [esp], ebx
mov ebx, dword [esp + 0x110]
mov ebx, dword [ebx + 0x18]
call ebx
mov ebx, dword [esp + 4]
mov dword [esp], 0x5baac0
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call fcn.00406420
movzx ebx, byte [esp + 0xc]
cmp bl, 0
je 0x4b8cd5
mov ebx, dword [esp + 0x114]
mov dword [esp], ebx
mov ebx, dword [esp + 0x110]
mov ebx, dword [ebx + 0x1c]
call ebx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xd4], edi
mov ebx, dword [0x6c9360]
cmp esi, ebx
jne 0x4b8c7c
mov dword [esp + 0xd0], esi
mov dword [esp], esi
mov dword [esp + 4], edi
mov ebp, dword [0x6c9360]
mov dword [esp + 8], ebp
mov ebp, dword [0x6c9364]
mov dword [esp + 0xc], ebp
call fcn.00403c80
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b8c7c
mov edx, dword [0x6c94c0]
mov ecx, dword [0x6c94c4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x128], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x12c], ecx
nop
call fcn.0042a350
add esp, 0x108
ret
mov dword [esp + 0xd0], esi
mov ebx, dword [0x6c9368]
cmp esi, ebx
jne 0x4b8cc5
mov dword [esp], esi
mov dword [esp + 4], edi
mov ebp, dword [0x6c9368]
mov dword [esp + 8], ebp
mov ebp, dword [0x6c936c]
mov dword [esp + 0xc], ebp
call fcn.00403c80
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b8cc5
mov edx, dword [0x6c9510]
mov ecx, dword [0x6c9514]
jmp 0x4b8c59
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
jmp 0x4b8c59
mov dword [esp], 0x5d6120
mov ebx, dword [esp + 0xc0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.0040c910
mov ebp, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b8d55
mov ebx, 0x5f7b60
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 9
mov dword [esp + 0x8c], edx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x88], ebp
cmp ebp, 0
jne 0x4b8d7e
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x38], edx
mov ebp, edx
mov dword [esp + 0x3c], ecx
mov edx, ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x128], ebp
mov dword [esp + 0xc4], edx
mov dword [esp + 0x12c], edx
nop
call fcn.0042a350
add esp, 0x108
ret
mov dword [esp], 0x5d2540
call fcn.0040f320
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x64]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x60]
cmp byte [0x6dae38], 0
jne 0x4b8df2
mov dword [ecx], ebp
mov ebp, dword [esp + 0x88]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x8c]
cmp byte [0x6dae38], 0
jne 0x4b8ddd
mov dword [ecx + 0xc], ebp
mov edx, 0x6b1cb0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
jmp 0x4b8d49
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8dc5
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8da8
mov ebp, dword [ecx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0x7010
mov dword [esp + 0xc], ecx
cmp dword [esp + 0xc], 0
je 0x4b8f29
add dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 4
call fcn.0045a9f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, 0x5f7fcc
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0x9c], edx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x98], ecx
cmp ecx, 0
jne 0x4b8ea6
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x128], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x12c], ecx
nop
call fcn.0042a350
add esp, 0x108
ret
mov dword [esp], 0x5d2540
call fcn.0040f320
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0x5c]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x58]
cmp byte [0x6dae38], 0
jne 0x4b8f17
mov dword [ecx], ebp
mov ebp, dword [esp + 0x98]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x9c]
cmp byte [0x6dae38], 0
jne 0x4b8f02
mov dword [ecx + 0xc], ebp
mov edx, 0x6b1cb0
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
jmp 0x4b8e83
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8eed
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x2c]
jmp 0x4b8ed0
mov dword [0], eax
jmp 0x4b8e29
nop
call fcn.0042a350
add esp, 0x108
ret
lea esi, [eax + 0x38]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x4b8a9f
mov dword [eax], eax
jmp 0x4b8a75
mov dword [edi], eax
jmp 0x4b8938
cmp ecx, 0x98d3a9ba
jne 0x4b8897
mov ebx, eax
xor ebp, ebp
cmp eax, ebp
je 0x4b8f7a
mov ebx, dword [ebx + 4]
mov ebp, 0x5ca7a0
cmp ebx, ebp
jne 0x4b8fbf
mov eax, 1
cmp al, 0
je 0x4b8897
mov dword [esp], 0x5dc980
call fcn.0040f320
mov edi, dword [esp + 4]
mov ebx, edi
cmp edi, 0
je 0x4b8fbb
xor eax, eax
call fcn.004539b3
mov eax, ebx
mov ecx, 0x6b1d50
jmp 0x4b8946
mov dword [edi], eax
jmp 0x4b8fa8
xor eax, eax
jmp 0x4b8f88
xor edx, edx
jmp 0x4b8914
cmp ecx, 4
jne 0x4b900f
mov dword [esp], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f6ca5
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4b873c
mov dword [esp + 0xdc], ecx
cmp ecx, 4
jne 0x4b9046
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f6ca9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004535f0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4b873c
xor eax, eax
jmp 0x4b8741
mov dword [ebx], eax
jmp 0x4b86de
nop
call fcn.0042a350
add esp, 0x108
ret
xor eax, eax
jmp 0x4b8652
call fcn.004518d0
jmp fcn.004b8540