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

Disassembly:
sub esp, 0x98
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
xor esi, esi
mov ebx, edx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x483a9e
mov ecx, str.:memory:
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x483a90
test dl, dl
je 0x483a8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x483a90
add eax, 2
add ecx, 2
test dl, dl
jne 0x483a70
xor eax, eax
jmp 0x483a95
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x483a9e
mov esi, 1
mov ebp, dword [ebx]
push 0x2c
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ebp
call fcn.00478b20
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x483b24
push 0x2c
push 0
push edi
call fcn.004cc620
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 0x483c43
cmp dword [esp + 0x18], esi
je 0x483c43
mov edx, dword [esp + 0x18]
cmp byte [edx], 0
je 0x483c43
cmp dword [0x513c1c], esi
je 0x483c43
mov esi, dword [ebp + 8]
inc esi
push esi
call fcn.00478b20
mov ebx, eax
add esp, 4
mov byte [edi + 9], 1
test ebx, ebx
jne 0x483b2e
push edi
call fcn.00478e00
add esp, 4
mov eax, 7
jmp 0x483ec7
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x24]
push ebx
push esi
push eax
push ebp
call ecx
add esp, 0x10
cmp dword [0x513b6c], 0
jne 0x483b4b
xor eax, eax
jmp 0x483b56
push 4
call dword [0x513ba8]
add esp, 4
push eax
mov dword [esp + 0x2c], eax
call fcn.00478580
add esp, 4
cmp dword [0x513b6c], 0
jne 0x483b74
xor ebp, ebp
mov dword [esp + 0x24], ebp
jmp 0x483b85
push 2
call dword [0x513ba8]
add esp, 4
mov ebp, eax
mov dword [esp + 0x24], eax
push ebp
call fcn.00478580
mov eax, dword [0x51b43c]
add esp, 4
mov esi, eax
test eax, eax
je 0x483c24
lea ecx, [ecx]
mov ebp, dword [esi]
mov ecx, dword [ebp + 0x84]
mov eax, ebx
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x483bd0
test dl, dl
je 0x483bcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x483bd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x483bb0
xor eax, eax
jmp 0x483bd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x483be2
mov edx, dword [esp + 0x2c]
cmp dword [ebp], edx
je 0x483beb
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x483ba0
jmp 0x483c20
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
sub eax, 1
js 0x483c1a
mov ecx, dword [ecx + 8]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
mov edx, dword [ecx]
test edx, edx
je 0x483c12
cmp dword [edx + 4], esi
je 0x483d42
dec eax
sub ecx, 0x10
test eax, eax
jge 0x483c03
mov dword [edi + 4], esi
inc dword [esi + 0x38]
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x483c32
push ebp
call dword [0x513bb8]
add esp, 4
push ebx
call fcn.00478e00
add esp, 4
test esi, esi
jne 0x483e02
push 0x50
call fcn.00478b20
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x483d78
push 0x50
push 0
push ebp
call fcn.004cc620
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xbc]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebp
call fcn.00480d50
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x483e85
mov eax, dword [ebp]
push eax
lea esi, [esp + 0x3c]
call fcn.00480670
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x483e85
mov eax, dword [ebp]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [eax + 0x8c], 0x4839f0
mov dword [eax + 0x90], ebp
mov dword [edi + 4], ebp
mov edi, dword [ebp]
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov dl, byte [edi + 0xc]
mov byte [ebp + 0x10], dl
movzx ax, byte [esp + 0x48]
movzx dx, byte [esp + 0x49]
shl ax, 8
or ax, dx
mov edx, 0x200
lea esi, [ebp + 0x14]
mov word [esi], ax
cmp ax, dx
jb 0x483d85
mov edx, 0x8000
cmp ax, dx
ja 0x483d85
movzx eax, ax
lea edx, [eax - 1]
test eax, edx
jne 0x483d85
mov bl, byte [esp + 0x4c]
lea ecx, [esp + 0x6c]
mov byte [ebp + 0x11], 1
call fcn.0047b8f0
test eax, eax
setne al
lea ecx, [esp + 0x78]
mov byte [ebp + 0x12], al
call fcn.0047b8f0
test eax, eax
setne cl
mov byte [ebp + 0x13], cl
jmp 0x483d9e
mov edx, dword [esp + 0x24]
push edx
call fcn.004785c0
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.004785c0
add esp, 4
push ebx
call fcn.00478e00
add esp, 4
push edi
call fcn.00478e00
add esp, 4
mov eax, 0x13
jmp 0x483ec7
mov dword [esp + 0x14], 7
jmp 0x483e95
xor edx, edx
mov word [esi], dx
cmp dword [esp + 0x18], ecx
je 0x483d9c
cmp dword [esp + 0x34], ecx
jne 0x483d9c
mov byte [ebp + 0x12], cl
mov byte [ebp + 0x13], cl
xor bl, bl
movzx eax, bl
push eax
push esi
call fcn.004805a0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x483e81
mov dx, word [esi]
mov eax, dword [esp + 0x1c]
movzx cx, bl
sub dx, cx
mov word [ebp + 0x16], dx
cmp byte [eax + 9], 0
je 0x483e02
mov dword [ebp + 0x38], 1
cmp dword [0x513b6c], 0
jne 0x483e46
xor esi, esi
push esi
call fcn.00478580
mov edx, dword [0x51b43c]
add esp, 4
push esi
mov dword [ebp + 0x3c], edx
mov dword [0x51b43c], ebp
call fcn.004785c0
add esp, 4
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 9], 0
je 0x483f35
mov esi, dword [esp + 0x20]
xor edx, edx
cmp dword [esi + 4], edx
jle 0x483f35
mov ecx, dword [esi + 8]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x483e35
cmp byte [eax + 9], 0
jne 0x483ee0
inc edx
add ecx, 0x10
cmp edx, dword [esi + 4]
jl 0x483e25
mov edx, dword [esp + 0x30]
mov dword [edx], ebx
jmp 0x483eb1
push 2
call dword [0x513ba8]
add esp, 4
cmp dword [0x513b6c], 0
mov esi, eax
je 0x483de1
push 0
call dword [0x513ba8]
add esp, 4
mov dword [ebp + 0x30], eax
test eax, eax
jne 0x483de1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 7
mov byte [ecx + 0x1e], al
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
test eax, eax
je 0x483e95
push eax
call fcn.004807d0
add esp, 4
push ebp
call fcn.00478e00
add esp, 4
push edi
call fcn.00478e00
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x483ec3
push eax
call dword [0x513bb8]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c961b
add esp, 0x98
ret
cmp dword [eax + 0x18], 0
je 0x483eef
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x483ee6
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x483f0c
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
mov dword [eax + 0x18], ebx
mov dword [edx], ebx
jmp 0x483eb1
cmp dword [eax + 0x14], 0
je 0x483f22
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x483f22
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x483f12
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
test ecx, ecx
je 0x483f32
mov dword [ecx + 0x18], ebx
mov dword [eax + 0x14], ebx
mov edx, dword [esp + 0x30]
mov dword [edx], ebx
jmp 0x483eb1