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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4befec
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4bed83
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4bec73
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4bec3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x140]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4bec2a
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.004b31b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4bec18
mov eax, dword [esp + 0x74]
mov byte [eax + 0x148], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00457700
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4bea26
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004be760
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004be760
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4bea11
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4bea04
mov dword [ebx + 0x160], eax
lea eax, [0x664ca0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x627560]
mov dword [esp + 8], eax
lea eax, [0x695748]
mov dword [esp + 0xc], eax
call fcn.00413cc0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x160]
call fcn.0044c8c0
jmp 0x4be9c4
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0044c8c0
mov eax, edx
jmp 0x4be9ae
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004577e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4beb31
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004be760
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004be760
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4beb1c
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4beb0f
mov dword [ebx + 0x160], eax
lea eax, [0x664ca0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x627560]
mov dword [esp + 8], eax
lea eax, [0x695748]
mov dword [esp + 0xc], eax
call fcn.00413cc0
jmp 0x4be9ea
lea edi, [ebx + 0x160]
call fcn.0044c8c0
jmp 0x4beae4
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044c8c0
mov eax, edx
jmp 0x4beace
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004be760
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0x638e20]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00407800
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4bec03
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], eax
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4bebf4
mov dword [ebx + 0x160], ecx
lea eax, [0x664ca0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x627560]
mov dword [esp + 8], eax
lea eax, [0x695748]
mov dword [esp + 0xc], eax
call fcn.00413cc0
jmp 0x4be9ea
lea edi, [ebx + 0x160]
mov eax, ecx
call fcn.0044c8c0
jmp 0x4bebc9
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c8c0
mov eax, edx
jmp 0x4bebb3
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004b3090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4bec61
mov eax, dword [esp + 0x74]
xor ebx, ebx
xor edx, edx
jmp 0x4be8fe
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x140]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4bed71
test ebx, ebx
jne 0x4becb5
mov eax, ebx
mov ecx, edx
jmp 0x4be85b
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00457620
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4becea
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
jmp 0x4becac
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
nop
lea eax, [0x63ef60]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4bed64
lea ecx, [0x66da73]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4bed4e
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
lea eax, [0x6dc0b0]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
add esp, 0x70
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0044c8c0
mov edi, edx
jmp 0x4bed36
lea eax, [0x66da73]
call fcn.0044c8c0
jmp 0x4bed1e
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
nop
lea eax, [0x637900]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4befd7
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x4befa5
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x4bef73
xor edx, edx
xor ebp, ebp
nop
mov esi, dword [eax + 0x150]
mov ecx, dword [eax + 0x14c]
cmp esi, 4
jne 0x4bee40
cmp dword [ecx], 0x78696e75
jne 0x4bee40
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x6de470]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4be848
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
cmp esi, 8
jne 0x4bee56
cmp dword [ecx], 0x78696e75
jne 0x4bee56
cmp dword [ecx + 4], 0x6d617267
je 0x4bedea
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], ebp
cmp esi, 0xa
je 0x4bef1c
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
lea ebx, [ecx - 1]
cmp ebx, ecx
jae 0x4befe5
movzx ebx, byte [ecx + esi - 1]
cmp bl, 0x34
je 0x4bedf6
cmp bl, 0x36
je 0x4bedf6
cmp dword [eax + 0x140], 2
jne 0x4beedd
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x66d333]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bda0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4bedf6
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x66d335]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bda0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4bedf6
mov dword [esp], ecx
lea eax, [0x672489]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402560
movzx eax, byte [esp + 0xc]
test al, al
je 0x4bef57
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4bedea
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4bee67
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4bedd0
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4bedd0
mov eax, dword [esp + 0x74]
call fcn.0044c8c0
jmp 0x4bedaa
call fcn.00426ef0
ud2
call fcn.0044b170
jmp fcn.004be820