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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5f4748]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, edx
mov dword [esp + 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [esp + 0x2c], edx
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], edx
push esi
push edi
test eax, eax
je 0x462359
cmp byte [eax], dl
je 0x462359
xor esi, esi
jmp 0x46235c
lea esi, [edx + 1]
push 2
pop edi
test eax, eax
je 0x46237b
push 9
push str.:memory:
push eax
call fcn.0055728f
add esp, 0xc
test eax, eax
je 0x462393
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x462385
cmp byte [ecx + 0x3f], 2
je 0x462393
mov eax, dword [ebp + 0x14]
test al, al
js 0x462396
mov ecx, dword [ebp + 0x10]
xor edx, edx
jmp 0x46239e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
or ecx, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edx
test eax, 0x100
je 0x4623c2
test edx, edx
jne 0x4623b5
test esi, esi
je 0x4623c2
and eax, 0xfffffeff
or eax, 0x200
mov dword [ebp + 0x14], eax
push 0x2c
pop ecx
call fcn.004543a3
mov edi, eax
test edi, edi
jne 0x4623d8
push 7
pop eax
jmp 0x46274d
mov eax, dword [esp + 0x14]
mov byte [edi + 8], bl
mov dword [edi], eax
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x46255f
mov eax, dword [ebp + 0x14]
cmp dword [esp + 0x20], ebx
je 0x462404
test al, 0x40
je 0x46255f
test eax, 0x20000
je 0x46255f
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
inc esi
push esi
call fcn.00453fc7
mov edx, eax
mov byte [edi + 9], 1
mov dword [esp + 0x20], edx
pop ecx
test edx, edx
jne 0x462433
push 7
jmp 0x462596
cmp dword [esp + 0x20], ebx
je 0x4624ca
mov ecx, dword [esp + 0x24]
call fcn.0045603a
inc eax
push eax
push ecx
push edx
call fcn.00553450
add esp, 0xc
push 4
pop ecx
call fcn.00453aef
push eax
mov dword [esp + 0x30], eax
call fcn.00453b16
pop ecx
push 2
pop ecx
call fcn.00453aef
push eax
mov dword [esp + 0x1c], eax
call fcn.00453b16
mov esi, dword [0x5fc2fc]
pop ecx
test esi, esi
je 0x462543
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [ecx + 0xa8]
mov ecx, eax
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
jne 0x4624f5
cmp byte [esp + 0x13], 0
je 0x4624c6
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
jne 0x4624f5
add ecx, 2
add edx, 2
cmp byte [esp + 0x13], 0
jne 0x462494
xor ecx, ecx
jmp 0x4624fa
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push esi
call fcn.00453741
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x462452
mov eax, dword [esp + 0x1c]
push eax
call fcn.004541c2
pop ecx
jmp 0x462597
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x462508
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
cmp dword [ecx], edx
je 0x462515
mov esi, dword [esi + 0x44]
test esi, esi
jne 0x46248a
jmp 0x462543
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x14]
dec edx
js 0x46253d
mov eax, dword [eax + 0x10]
mov ecx, edx
shl ecx, 4
add eax, 4
add ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x462537
cmp dword [eax + 4], esi
je 0x462575
sub ecx, 0x10
dec edx
jns 0x46252c
mov dword [edi + 4], esi
inc dword [esi + 0x40]
push dword [esp + 0x18]
call fcn.00453b3c
pop ecx
push dword [esp + 0x1c]
call fcn.004541c2
pop ecx
test esi, esi
jne 0x462785
push 0x54
pop ecx
call fcn.004543a3
mov esi, eax
test esi, esi
jne 0x4625a2
push 7
pop ebx
jmp 0x462727
push dword [esp + 0x18]
call fcn.00453b3c
mov edx, dword [esp + 0x30]
pop ecx
push edx
call fcn.00453b3c
pop ecx
push dword [esp + 0x1c]
call fcn.004541c2
pop ecx
push 0x13
pop ebx
push edi
call fcn.004541c2
jmp 0x46274a
push ecx
push dword [ebp + 0x14]
mov edx, esi
push dword [esp + 0x38]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
call fcn.0045d7be
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x462718
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.0045cef9
mov ecx, dword [esi]
lea eax, [esp + 0x40]
push eax
call fcn.0045d0fd
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x462718
mov eax, dword [esp + 0x30]
mov byte [esi + 0x10], al
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
lea edx, [eax + 0xb0]
mov dword [edx], fcn.004622fb
mov dword [eax + 0xb4], esi
cmp dword [ecx], ebx
je 0x462626
mov eax, dword [ecx]
push edx
push 0xf
push ecx
call dword [eax + 0x28]
add esp, 0xc
mov dword [edi + 4], esi
xor edx, edx
mov eax, dword [esi]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
cmp byte [eax + 0xe], dl
je 0x46263f
xor eax, eax
inc eax
or word [esi + 0x16], ax
movzx ecx, byte [esp + 0x49]
lea ebx, [esi + 0x20]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [ebx], ecx
cmp ecx, 0x200
jb 0x4626a4
cmp ecx, 0x10000
ja 0x4626a4
lea eax, [ecx - 1]
test ecx, eax
jne 0x4626a4
mov al, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x13], al
push 2
pop eax
or word [esi + 0x16], ax
call fcn.00456da9
test eax, eax
lea ecx, [esp + 0x78]
setne al
mov byte [esi + 0x11], al
call fcn.00456da9
test eax, eax
setne al
mov byte [esi + 0x12], al
mov al, byte [esp + 0x13]
jmp 0x4626b8
mov dword [ebx], edx
cmp dword [esp + 0x24], edx
je 0x4626b6
cmp dword [esp + 0x20], edx
jne 0x4626b6
mov word [esi + 0x11], dx
mov al, dl
mov ecx, dword [esi]
mov edx, ebx
movzx eax, al
push eax
mov dword [esp + 0x1c], eax
call fcn.0045cfd1
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x462718
mov eax, dword [esi + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esi + 0x24], eax
cmp byte [edi + 9], bl
je 0x4627ff
xor eax, eax
inc eax
mov dword [esi + 0x40], eax
push 2
pop eax
mov ecx, eax
call fcn.00453aef
mov dword [esp + 0x18], eax
cmp dword [0x5f651c], ebx
je 0x462766
xor ecx, ecx
call fcn.00453aef
mov dword [esi + 0x38], eax
test eax, eax
jne 0x462762
mov eax, dword [esp + 0x14]
push 7
pop ebx
mov byte [eax + 0x40], 0
test esi, esi
je 0x462727
mov ecx, dword [esi]
test ecx, ecx
je 0x462727
call fcn.0045d2ac
push esi
call fcn.004541c2
pop ecx
push edi
call fcn.004541c2
mov eax, dword [esp + 0x38]
pop ecx
and dword [eax], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x46274b
push eax
call fcn.00453b3c
pop ecx
mov eax, ebx
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
push eax
call fcn.00453b16
mov eax, dword [0x5fc2fc]
pop ecx
push dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov dword [0x5fc2fc], esi
call fcn.00453b3c
pop ecx
cmp byte [edi + 9], 0
je 0x4627ff
mov eax, dword [esp + 0x14]
xor edx, edx
cmp dword [eax + 0x14], edx
jle 0x4627ff
mov eax, dword [eax + 0x10]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x4627a8
cmp byte [ecx + 9], 0
jne 0x4627b7
mov ecx, dword [esp + 0x14]
inc edx
add eax, 0x10
cmp edx, dword [ecx + 0x14]
jl 0x46279c
jmp 0x4627ff
xor edx, edx
jmp 0x4627bd
mov ecx, dword [eax]
lea eax, [ecx + 0x18]
cmp dword [eax], edx
jne 0x4627bb
mov eax, dword [edi + 4]
cmp eax, dword [ecx + 4]
jae 0x4627d7
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [ecx + 0x18], edi
jmp 0x4627ff
cmp dword [ecx + 0x14], edx
je 0x4627ec
mov edx, dword [ecx + 0x14]
cmp dword [edx + 4], eax
jae 0x4627ec
mov ecx, edx
cmp dword [ecx + 0x14], 0
jne 0x4627dc
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
test eax, eax
je 0x4627fc
mov dword [eax + 0x18], edi
mov dword [ecx + 0x14], edi
mov eax, dword [esp + 0x34]
mov dword [eax], edi
test ebx, ebx
jne 0x462718
push ebx
xor edx, edx
mov ecx, edi
call fcn.00467e3c
pop ecx
test eax, eax
jne 0x46273c
mov ecx, dword [edi + 4]
mov edx, 0x7d0
mov ecx, dword [ecx]
call fcn.0045ce80
jmp 0x46273c