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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4b9364
sub esp, 0x88
mov eax, dword [esp + 0x9c]
cmp eax, 3
jge 0x4b91e1
jge 0x4b900c
cmp eax, 2
jne 0x4b9000
mov ecx, dword [esp + 0x98]
cmp word [ecx], 0x7069
jne 0x4b8f9e
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x4b8f95
mov ebx, dword [esp + 0xa0]
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], edx
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x4c24e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], ecx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4b8f76
mov edx, dword [esp + 0x98]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x34]
mov dword [eax + 0xc], ebx
mov ebp, dword [esp + 0x40]
test ebp, ebp
jne 0x4b8ced
lea edi, [esp + 0x60]
lea esi, [0x6dcd50]
call fcn.0044ce9e
nop
mov eax, dword [esp + 0x9c]
cmp eax, 3
jge 0x4b8b41
jge 0x4b8a38
cmp eax, 2
jne 0x4b8a33
cmp word [edx], 0x7069
jne 0x4b8a10
lea eax, [0x63e6c0]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4b8a04
mov dword [edi], edx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4b89f1
mov dword [edi + 0xc], eax
lea eax, [0x6ddb50]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
lea ecx, [0x622de0]
mov dword [esp], ecx
call fcn.00409c30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4b89df
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0x88
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044c8c0
mov eax, ecx
jmp 0x4b89a5
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044c8c0
mov edi, edx
jmp 0x4b896e
mov eax, edx
call fcn.0044c8c0
jmp 0x4b8952
cmp eax, 3
jne 0x4b9312
cmp word [edx], 0x7069
jne 0x4b9312
cmp byte [edx + 2], 0x34
je 0x4b891e
jmp 0x4b9312
cmp eax, 3
jmp 0x4b8a13
je 0x4b8aee
jne 0x4b8a58
cmp word [edx], 0x7069
jne 0x4b8ae6
cmp byte [edx + 2], 0x36
je 0x4b891e
cmp eax, 3
jne 0x4b9312
cmp word [edx], 0x6374
jne 0x4b9312
cmp byte [edx + 2], 0x70
jne 0x4b9312
lea eax, [0x6469c0]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4b8add
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4b8acd
mov dword [edi + 0x10], eax
lea eax, [0x6ddb70]
jmp 0x4b8974
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044c8c0
mov edi, edx
jmp 0x4b8ac2
mov eax, ecx
call fcn.0044c8c0
jmp 0x4b8aa3
cmp eax, 3
jmp 0x4b8a58
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x66d6e5]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b8b27
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
jmp 0x4b890a
mov eax, dword [esp + 0x9c]
cmp eax, 3
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x34]
jmp 0x4b8a3e
je 0x4b8c96
cmp eax, 4
jge 0x4b8c01
cmp eax, 3
jne 0x4b8bfc
cmp word [edx], 0x6475
jne 0x4b8bf7
cmp byte [edx + 2], 0x70
jne 0x4b8bdd
lea eax, [0x646a40]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4b8bd4
mov dword [edi], edx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x14], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4b8bc4
mov dword [edi + 0x10], eax
lea eax, [0x6ddb90]
jmp 0x4b8974
lea ecx, [edi + 0x10]
mov edx, edi
mov edi, ecx
call fcn.0044c8c0
mov edi, edx
jmp 0x4b8bb9
mov eax, edx
call fcn.0044c8c0
jmp 0x4b8b9a
cmp eax, 4
jne 0x4b9312
cmp dword [edx], 0x34706374
je 0x4b8a73
jmp 0x4b9312
cmp eax, 4
jmp 0x4b8be0
cmp eax, 4
jmp 0x4b8be0
je 0x4b8c3c
jne 0x4b8c14
cmp dword [edx], 0x36706374
je 0x4b8a73
cmp eax, 4
jne 0x4b8c25
cmp dword [edx], 0x34706475
je 0x4b8b6a
cmp eax, 4
jne 0x4b9312
cmp dword [edx], 0x36706475
je 0x4b8b6a
jmp 0x4b9312
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x66dd43]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b8c7c
mov eax, dword [esp + 0x9c]
cmp eax, 3
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x34]
jmp 0x4b8b53
mov eax, dword [esp + 0x9c]
cmp eax, 4
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x34]
jmp 0x4b8c03
mov dword [esp], edx
mov dword [esp + 4], eax
lea ecx, [0x66d74e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b8cd6
mov eax, dword [esp + 0x9c]
cmp eax, 3
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x34]
jmp 0x4b8904
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x34]
jmp 0x4b8b47
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
call fcn.004ba3d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x4b8f40
cmp ecx, 1
je 0x4b8e12
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4b8e09
mov ebx, dword [esp + 0x98]
movzx esi, byte [ebx + eax - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
jne 0x4b8dfd
test eax, eax
lea esi, [0x695768]
je 0x4b8df9
movzx eax, byte [ebx + eax - 1]
cmp al, 0x36
jne 0x4b8df9
lea eax, [0x69576c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.004b7d70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
add esp, 0x88
ret
mov eax, esi
jmp 0x4b8d8f
test eax, eax
mov esi, 0
jmp 0x4b8d7d
mov ebx, dword [esp + 0x98]
jmp 0x4b8dff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], ebp
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov ebx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [0x9b4720]
mov ecx, dword [0x9b4728]
mov ebx, dword [0x9b4724]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
call fcn.004b5c30
movzx eax, byte [esp + 0x18]
test al, al
je 0x4b8f2f
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0044c9bb
mov ecx, dword [0x9dae3c]
mov edx, dword [0x9dae38]
mov ebx, dword [0x9dae40]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
ja 0x4b8ef5
mov eax, dword [esp + 0x50]
mov ebp, dword [0x9ec0a0]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x4b8ec1
lea esi, [esp + 0x74]
call fcn.0044ce9e
mov ebp, ebx
mov ecx, edx
mov edx, eax
jmp 0x4b8d4f
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
lea eax, [0x63e6c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.0040f5b0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4b8eb6
lea eax, [0x63e6c0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x4b8e9d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x3c]
jmp 0x4b8d4f
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
add esp, 0x88
ret
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x98]
call fcn.0044c8c0
mov eax, edx
mov edx, dword [esp + 0x98]
jmp 0x4b88d1
xor edx, edx
xor ebx, ebx
jmp 0x4b8887
cmp eax, 3
jne 0x4b8fb4
cmp word [ecx], 0x7069
jne 0x4b8fb4
cmp byte [ecx + 2], 0x34
je 0x4b8871
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407620
mov eax, dword [esp + 8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea ecx, [0x6dc5f0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0x88
ret
cmp eax, 3
mov ecx, dword [esp + 0x98]
jmp 0x4b8fa1
je 0x4b9199
jne 0x4b918d
mov ecx, dword [esp + 0x98]
cmp word [ecx], 0x7069
jne 0x4b9185
cmp byte [ecx + 2], 0x36
je 0x4b8871
cmp eax, 3
jne 0x4b8fb4
cmp word [ecx], 0x6374
jne 0x4b8fb4
cmp byte [ecx + 2], 0x70
jne 0x4b8fb4
mov edx, dword [esp + 0xa4]
test edx, edx
jne 0x4b906e
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, ebp
mov ebp, edx
mov edx, esi
jmp 0x4b8889
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004b80a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
test ecx, ecx
jne 0x4b914f
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x94]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x98]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.004bae20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x4b9119
mov ecx, dword [esp + 0x98]
mov edx, eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
jmp 0x4b9063
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
add esp, 0x88
ret
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0x88
ret
cmp eax, 3
jmp 0x4b9037
mov ecx, dword [esp + 0x98]
jmp 0x4b9037
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66d6e5]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b91d2
mov eax, dword [esp + 0x9c]
jmp 0x4b8856
mov eax, dword [esp + 0x9c]
cmp eax, 3
jmp 0x4b9012
je 0x4b92ca
cmp eax, 4
jge 0x4b9234
cmp eax, 3
jne 0x4b9228
mov ecx, dword [esp + 0x98]
cmp word [ecx], 0x6475
jne 0x4b9223
cmp byte [ecx + 2], 0x70
je 0x4b9052
cmp eax, 4
jne 0x4b8fb4
cmp dword [ecx], 0x34706374
je 0x4b9052
jmp 0x4b8fb4
cmp eax, 4
jmp 0x4b920c
cmp eax, 4
mov ecx, dword [esp + 0x98]
jmp 0x4b920c
je 0x4b927f
jne 0x4b9276
mov ecx, dword [esp + 0x98]
cmp dword [ecx], 0x36706374
je 0x4b9052
cmp eax, 4
jne 0x4b925f
cmp dword [ecx], 0x34706475
je 0x4b9052
cmp eax, 4
jne 0x4b8fb4
cmp dword [ecx], 0x36706475
je 0x4b9052
jmp 0x4b8fb4
mov ecx, dword [esp + 0x98]
jmp 0x4b924e
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66dd43]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b92bb
mov eax, dword [esp + 0x9c]
cmp eax, 3
jmp 0x4b91ef
mov eax, dword [esp + 0x9c]
cmp eax, 4
jmp 0x4b9236
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66d74e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402410
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4b9306
mov eax, dword [esp + 0x9c]
cmp eax, 3
jmp 0x4b8850
mov eax, dword [esp + 0x9c]
jmp 0x4b91e7
mov dword [esp], 0
lea ecx, [0x6778b8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0043bda0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407620
mov eax, dword [esp + 8]
lea ecx, [0x62b9a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427cb0
ud2
call fcn.0044b170
jmp fcn.004b8820