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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ecx]
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], esi
test esi, esi
jne 0x4be0b1
cmp dword [ebx + 0x78], esi
jne 0x4be0a4
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4be0a4
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00440600
mov esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edi
mov ecx, edi
test edi, edi
je 0x4be8d9
nop
cmp byte [ecx + 0x60], 0
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x24], edx
je 0x4be0da
mov dword [esp + 0x14], 0
jmp 0x4be1b7
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4be0e8
mov eax, dword [eax]
jmp 0x4be0ea
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4be1b7
mov dword [esp + 0x14], eax
nop dword [eax]
cmp edi, 1
jne 0x4be14a
cmp dword [edx + 0x20], 0x4ffec4
jne 0x4be14a
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 0x50]
mov ebx, dword [ebp + 0x10]
inc edx
mov ecx, dword [esi + 0x6c]
inc ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x70], ecx
jg 0x4be13b
push ebx
push edx
push eax
lea edx, [edi + 0x5d]
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be1a0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x2c]
jmp 0x4be17e
mov edx, dword [ecx + 0x50]
mov ebx, dword [ebp + 0x10]
add edx, edi
mov ecx, dword [esi + 0x6c]
add ebx, edi
cmp dword [esi + 0x70], ecx
jg 0x4be172
push ebx
push edx
push dword [ebp + 8]
mov edx, 0x5e
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be1a0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4], 0x5e
mov ecx, dword [esp + 0x10]
inc edi
mov edx, dword [esp + 0x24]
cmp edi, dword [esp + 0x14]
jl 0x4be100
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], edi
cmp dword [eax + 0x58], 0
jne 0x4be49a
test dword [edx + 4], 0x1000
je 0x4be49a
cmp byte [ecx + 0x11], 0x5a
je 0x4be49a
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x4be203
push 0
push 0
push edi
mov edx, 0x32
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov ebx, eax
jmp 0x4be232
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0xc], 0
mov edi, dword [esp + 0x10]
jne 0x4be39c
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4be262
push 0
push 1
push edx
mov edx, 0x56
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be295
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x40]
cmp dword [esi + 0x70], ecx
jg 0x4be2b7
push 0
push edx
push dword [ebp + 0x10]
mov edx, 0x51
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be2e9
mov edi, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
lea edi, [edx + 2]
cmp dword [esi + 0x70], ecx
jg 0x4be30c
push edi
push 2
push edx
mov edx, 0x61
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be33b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x40]
mov edi, dword [eax + 0x3c]
add edx, 2
cmp dword [esi + 0x70], ecx
jg 0x4be368
push 0
push edx
push edi
mov edx, 0x8a
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be481
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4be481
mov edx, dword [esi + 0x6c]
mov edi, dword [edi + 0x3c]
cmp dword [esi + 0x70], edx
jg 0x4be3c0
push dword [ebp + 0x10]
mov edx, 0x17
mov ecx, esi
push 0
push edi
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x4be3f2
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x17
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4be40d
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x3c]
cmp dword [esi + 0x70], ecx
jg 0x4be432
push 0
push 0
push edx
mov edx, 0x82
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be461
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4be473
mov eax, 0x514d20
jmp 0x4be47f
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov dword [eax], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4be8b6
mov eax, 0x514d18
jmp 0x4be8bf
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x4be502
sub edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4be4ca
push 0
push 1
push edx
mov edx, 0x56
mov ecx, esi
call fcn.00440850
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4be8c6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
jmp 0x4be8c6
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x10], 0x40b7c0
je 0x4be8c6
cmp dword [ecx + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x4be609
mov al, byte [ebx + 0x13]
test al, al
jne 0x4be534
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x4be543
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x9c]
mov edx, dword [ecx + 0x50]
add edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4be568
push edi
push edx
push dword [ebp + 8]
mov edx, 0x5e
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x4be592
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x4be5b8
push 1
push 0
push edi
mov edx, 0x11
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4be5e7
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x4be60d
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x4be60d
movzx eax, al
mov dword [edx + eax*4 + 0x9c], edi
inc byte [edx + 0x13]
jmp 0x4be60d
mov edx, dword [esp + 0x18]
cmp byte [ecx + 0x60], 0
je 0x4be6e4
mov eax, dword [ecx + 0x48]
mov ebx, dword [esi + 0x6c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x4be653
mov al, byte [edx + 0x13]
test al, al
jne 0x4be63e
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x4be684
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0x9c]
mov dword [esp + 0x1c], eax
jmp 0x4be684
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x1c], edi
cmp eax, ecx
jg 0x4be66f
add eax, edi
sub ecx, dword [esp + 0x14]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4be680
mov eax, dword [edx + 0x2c]
lea ecx, [eax + 1]
add eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [edx + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x48]
mov ecx, dword [esp + 0x18]
push 0
push 0
push dword [esp + 0x24]
mov edx, dword [edx + 0x14]
call fcn.004612b0
mov edi, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, edi
jge 0x4be6e0
lea edx, [ebx + ebx*4]
shl edx, 2
sub edi, ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4be6c0
mov ecx, 0x514d18
jmp 0x4be6c5
mov ecx, dword [esi + 0x68]
add ecx, edx
cmp byte [ecx], 0x5e
jne 0x4be6d8
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0x30]
jne 0x4be6d8
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
add edx, 0x14
sub edi, 1
jne 0x4be6b1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
test byte [eax + 4], 0x20
je 0x4be7b1
mov eax, dword [ecx + 0x48]
mov ecx, ebx
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
call fcn.00458010
mov edi, eax
test edi, edi
jne 0x4be711
mov eax, dword [ebx]
mov edi, dword [eax + 8]
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4be732
push 0
push 0
push 0
mov edx, 0x55
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x4be765
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4be77d
push edi
mov edx, 0xfffffffe
call fcn.00441340
add esp, 4
jmp 0x4be7b1
test edx, edx
jns 0x4be785
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4be7a6
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, esi
call fcn.004414b0
add esp, 8
jmp 0x4be7b1
test edi, edi
je 0x4be7b1
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
mov edi, dword [eax + 0x34]
mov eax, dword [ebp + 0xc]
mov edx, eax
neg edx
sbb edx, edx
add edx, 0xa2
cmp dword [esi + 0x70], ecx
jg 0x4be7e2
push edi
mov edi, dword [esp + 0x20]
mov ecx, esi
push edi
push eax
call fcn.00440850
add esp, 0xc
jmp 0x4be81a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4be835
push dword [esp + 0x24]
mov edx, 0xfffffff9
call fcn.00441340
add esp, 4
jmp 0x4be84b
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4be864
mov ecx, dword [esp + 0x14]
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x60], 0
je 0x4be89c
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4be891
test edi, edi
je 0x4be89c
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4be89c
movzx eax, al
mov dword [ebx + eax*4 + 0x9c], edi
inc byte [ebx + 0x13]
jmp 0x4be89c
cmp eax, dword [ebx + 0x1c]
jle 0x4be89c
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4be8c6
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4be8b6
mov eax, 0x514d18
jmp 0x4be8c3
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4be0c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret