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

Disassembly:
sub esp, 0x98
mov eax, dword [0x51eed4]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x427424
cmp byte [eax], 0
je 0x427424
xor ebp, ebp
jmp 0x427429
mov ebp, 1
mov dword [esp + 0x14], ebp
cmp eax, edi
je 0x42745f
mov ecx, str.:memory:
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427456
test dl, dl
je 0x427452
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427456
add eax, 2
add ecx, 2
test dl, dl
jne 0x427436
xor eax, eax
jmp 0x42745b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x427469
cmp ebp, edi
je 0x427470
cmp byte [ebx + 0x1d], 2
jne 0x427470
mov esi, 1
jmp 0x427472
xor esi, esi
test dword [ebx + 0xc], 0x20000
mov dword [esp + 0x34], esi
je 0x427487
or dword [esp + 0xb0], 2
cmp esi, edi
je 0x427493
or dword [esp + 0xb0], 4
mov eax, dword [esp + 0xb4]
test eax, 0x100
je 0x4274ba
cmp esi, edi
jne 0x4274a9
cmp ebp, edi
je 0x4274ba
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xb4], eax
mov ebp, dword [ebx]
push 0x2c
mov dword [esp + 0x30], ebp
call fcn.00418330
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x427534
push 0x2c
push 0
push edi
call fcn.004bfe20
add esp, 0xc
mov byte [edi + 8], 0
mov dword [edi], ebx
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x427653
cmp dword [esp + 0x14], esi
jne 0x427653
test dword [esp + 0xb4], 0x20000
je 0x427653
mov esi, dword [ebp + 8]
inc esi
push esi
call fcn.00418330
mov ebx, eax
add esp, 4
mov byte [edi + 9], 1
test ebx, ebx
jne 0x42753e
push edi
call fcn.00418600
add esp, 4
mov eax, 7
jmp 0x427999
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov byte [ebx], 0
mov eax, dword [ebp + 0x24]
push ebp
call eax
add esp, 0x10
cmp dword [0x520484], 0
jne 0x42755e
xor eax, eax
jmp 0x427569
push 4
call dword [0x5204c0]
add esp, 4
push eax
mov dword [esp + 0x24], eax
call fcn.00417d10
add esp, 4
cmp dword [0x520484], 0
jne 0x427587
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x427598
push 2
call dword [0x5204c0]
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], eax
push ebp
call fcn.00417d10
mov eax, dword [0x526e68]
add esp, 4
mov esi, eax
test eax, eax
je 0x427634
mov ebp, dword [esi]
mov ecx, dword [ebp + 0x90]
mov eax, ebx
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4275e0
test dl, dl
je 0x4275dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4275e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4275c0
xor eax, eax
jmp 0x4275e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4275f2
mov ecx, dword [esp + 0x2c]
cmp dword [ebp], ecx
je 0x4275fb
mov esi, dword [esi + 0x48]
test esi, esi
jne 0x4275b0
jmp 0x427630
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
sub eax, 1
js 0x42762a
mov ecx, dword [ecx + 8]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
mov edx, dword [ecx]
test edx, edx
je 0x427622
cmp dword [edx + 4], esi
je 0x427750
dec eax
sub ecx, 0x10
test eax, eax
jge 0x427613
mov dword [edi + 4], esi
inc dword [esi + 0x44]
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x427642
push ebp
call dword [0x5204d0]
add esp, 4
push ebx
call fcn.00418600
add esp, 4
test esi, esi
jne 0x427812
push 0x5c
call fcn.00418330
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x427790
push 0x5c
push 0
push ebp
call fcn.004bfe20
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0xbc]
add esp, 0xc
push edx
push eax
mov eax, dword [esp + 0x34]
push ebp
mov ecx, ebx
call fcn.00421fa0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x427898
mov ecx, dword [ebp]
push ecx
lea esi, [esp + 0x3c]
call fcn.00421800
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x427898
mov eax, dword [ebp]
mov edx, dword [esp + 0x24]
mov byte [ebp + 0x14], bl
mov dword [ebp + 4], edx
mov dword [eax + 0x98], 0x4273a0
mov dword [eax + 0x9c], ebp
mov dword [edi + 4], ebp
mov edi, dword [ebp]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov al, byte [edi + 0xd]
mov byte [ebp + 0x10], al
movzx eax, byte [esp + 0x49]
movzx edx, byte [esp + 0x48]
shl eax, 8
or eax, edx
shl eax, 8
lea esi, [ebp + 0x24]
mov dword [esi], eax
cmp eax, 0x200
jb 0x42779d
cmp eax, 0x10000
ja 0x42779d
lea edx, [eax - 1]
test eax, edx
jne 0x42779d
mov bl, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov byte [ebp + 0x11], 1
call fcn.0041b370
test eax, eax
setne al
lea ecx, [esp + 0x78]
mov byte [ebp + 0x15], al
call fcn.0041b370
test eax, eax
setne cl
mov byte [ebp + 0x16], cl
jmp 0x4277b5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x427762
push eax
call dword [0x5204d0]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x427774
push eax
call dword [0x5204d0]
add esp, 4
push ebx
call fcn.00418600
add esp, 4
push edi
call fcn.00418600
add esp, 4
mov eax, 0x13
jmp 0x427999
mov dword [esp + 0x18], 7
jmp 0x4278a8
mov dword [esi], ecx
cmp dword [esp + 0x28], ecx
je 0x4277b3
cmp dword [esp + 0x34], ecx
jne 0x4277b3
mov byte [ebp + 0x15], 0
mov byte [ebp + 0x16], 0
xor bl, bl
movzx ebx, bl
push ebx
push esi
call fcn.004216f0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x427894
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
sub edx, ebx
mov dword [ebp + 0x28], edx
cmp byte [eax + 9], 0
je 0x427812
mov dword [ebp + 0x44], 1
cmp dword [0x520484], 0
jne 0x427859
xor esi, esi
push esi
call fcn.00417d10
mov edx, dword [0x526e68]
add esp, 4
push esi
mov dword [ebp + 0x48], edx
mov dword [0x526e68], ebp
call fcn.00417d50
add esp, 4
mov edi, dword [esp + 0x1c]
cmp byte [edi + 9], 0
je 0x427923
mov esi, dword [esp + 0x24]
xor edx, edx
cmp dword [esi + 4], edx
jle 0x427923
mov ecx, dword [esi + 8]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x427845
cmp byte [eax + 9], 0
jne 0x4278c9
inc edx
add ecx, 0x10
cmp edx, dword [esi + 4]
jl 0x427835
mov edx, dword [esp + 0x30]
mov dword [edx], edi
jmp 0x427929
push 2
call dword [0x5204c0]
add esp, 4
cmp dword [0x520484], 0
mov esi, eax
je 0x4277f1
push 0
call dword [0x5204c0]
add esp, 4
mov dword [ebp + 0x3c], eax
test eax, eax
jne 0x4277f1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], 7
mov byte [ecx + 0x1e], al
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x4278a8
push eax
call fcn.004218f0
add esp, 4
push ebp
call fcn.00418600
add esp, 4
push edi
call fcn.00418600
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax], 0
jmp 0x427983
cmp dword [eax + 0x18], 0
je 0x4278d9
nop
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x4278d0
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x4278f6
mov edx, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [eax + 0x18], edi
mov dword [edx], edi
jmp 0x427929
cmp dword [eax + 0x14], 0
je 0x427910
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x427910
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x427900
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x427920
mov dword [ecx + 0x18], edi
mov dword [eax + 0x14], edi
mov edx, dword [esp + 0x30]
mov dword [edx], edi
mov esi, dword [edi + 4]
call fcn.00425c20
cmp byte [edi + 9], 0
je 0x427955
add dword [edi + 0xc], 0xffffffff
jne 0x427955
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x427951
push eax
call dword [0x5204d0]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x34], 0
jne 0x427983
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov eax, dword [eax + 0xa8]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x427983
push 0x7d0
push eax
call dword [0x5204ec]
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x427995
push eax
call dword [0x5204d0]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004be1d6
add esp, 0x98
ret