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

Disassembly:
sub esp, 0x90
mov eax, dword [0x5340e4]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x2c], edi
test ebp, ebp
je 0x48124b
cmp byte [ebp], al
je 0x48124b
xor esi, esi
jmp 0x481254
mov esi, 1
test ebp, ebp
je 0x48128d
mov ecx, str.:memory:
mov eax, ebp
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x481280
test dl, dl
je 0x48127c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x481280
add eax, 2
add ecx, 2
test dl, dl
jne 0x481260
xor eax, eax
jmp 0x481285
sbb eax, eax
or eax, 1
test eax, eax
je 0x4812a9
test esi, esi
je 0x481293
cmp byte [ebx + 0x56], 2
je 0x4812a9
mov eax, dword [esp + 0xb8]
test al, al
js 0x4812b0
mov ecx, dword [esp + 0xb4]
xor edx, edx
jmp 0x4812bf
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, 1
or ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edx
test eax, 0x100
je 0x4812e7
test edx, edx
jne 0x4812d6
test esi, esi
je 0x4812e7
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xb8], eax
push 0
push 0x30
call fcn.0049b7f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x481393
push 0x30
push 0
push ebx
call fcn.004e7970
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 0x20], ebx
mov dword [ebx + 0x24], 1
test esi, esi
jne 0x4815b0
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0x20], esi
je 0x481337
test al, 0x40
je 0x4815b0
test eax, 0x20000
je 0x4815b0
test ebp, ebp
jne 0x48134a
xor ecx, ecx
jmp 0x48135f
mov ecx, ebp
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x481350
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [edi + 8]
lea esi, [ecx + 1]
lea edi, [eax + 1]
cmp edi, esi
cmovg ecx, eax
mov eax, ecx
cdq
add eax, 1
adc edx, 0
push edx
push eax
call fcn.0049b7f0
mov ebp, eax
mov byte [ebx + 9], 1
add esp, 8
test ebp, ebp
jne 0x4813b1
push ebx
call fcn.0043b060
add esp, 4
mov eax, 7
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e56df
add esp, 0x90
ret
cmp dword [esp + 0x20], 0
je 0x4813de
push esi
push dword [esp + 0x20]
push ebp
call fcn.004e73f0
add esp, 0xc
cmp byte [0x5320f4], 0
jne 0x481425
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
jmp 0x481472
mov eax, dword [esp + 0x2c]
push ebp
push edi
push dword [esp + 0x24]
mov byte [ebp], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
je 0x4813c6
cmp esi, 0x200
jne 0x48140f
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x4813c6
push ebp
call fcn.0043b060
push ebx
call fcn.0043b060
add esp, 8
mov eax, esi
jmp 0x481398
push 4
call dword [0x532138]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x481442
push eax
call dword [0x532140]
add esp, 4
cmp byte [0x5320f4], 0
jne 0x481455
mov dword [esp + 0x28], 0
jmp 0x481472
push 2
call dword [0x532138]
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x481472
push eax
call dword [0x532140]
add esp, 4
mov edi, dword [0x536f54]
test edi, edi
je 0x4814fc
mov esi, dword [edi]
mov eax, ebp
mov ecx, dword [esi + 0xb8]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4814b0
test dl, dl
je 0x4814ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4814b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x481490
xor eax, eax
jmp 0x4814b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4814c1
mov eax, dword [esp + 0x2c]
cmp dword [esi], eax
je 0x4814ca
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x481480
jmp 0x4814fc
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x14]
sub edx, 1
js 0x4814f6
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 0x4814ee
cmp dword [eax + 4], edi
je 0x48155d
sub ecx, 0x10
sub edx, 1
jns 0x4814e3
mov dword [ebx + 4], edi
inc dword [edi + 0x44]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48150e
push eax
call dword [0x532148]
add esp, 4
cmp dword [0x5320f0], 0
je 0x48159a
mov eax, dword [0x536de8]
test eax, eax
je 0x48152e
push eax
call dword [0x532140]
add esp, 4
push ebp
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push ebp
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x4815a4
push eax
call dword [0x532148]
jmp 0x4815a1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48156f
push eax
call dword [0x532148]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481581
push eax
call dword [0x532148]
add esp, 4
push ebp
call fcn.0043b060
push ebx
call fcn.0043b060
add esp, 8
mov eax, 0x13
jmp 0x481398
push ebp
call dword [0x532114]
add esp, 4
test edi, edi
jne 0x48186a
mov ebp, dword [esp + 0x1c]
xorps xmm0, xmm0
push 0
push 0x5c
movq qword [esp + 0x50], xmm0
call fcn.0049b7f0
mov edi, eax
add esp, 8
test edi, edi
je 0x4819ff
push 0x5c
push 0
push edi
call fcn.004e7970
push 0x46d6f0
push dword [esp + 0xc8]
push dword [esp + 0x44]
push 0x54
push ebp
push edi
push dword [esp + 0x50]
call fcn.0049d030
mov ecx, eax
add esp, 0x28
mov dword [esp + 0x10], ecx
mov esi, edi
test ecx, ecx
jne 0x4817c9
mov edx, dword [edi]
mov ebp, dword [esp + 0x24]
push edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], ecx
call fcn.0046d890
mov esi, dword [edi]
xor eax, eax
push 0x64
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
push eax
call fcn.004e7970
mov eax, dword [esi + 0x40]
add esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
je 0x48166c
push 0
push 0
push 0x64
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
cmp ecx, 0x20a
je 0x481678
jmp 0x48166e
xor ecx, ecx
mov esi, edi
test ecx, ecx
jne 0x4817c9
mov eax, dword [esp + 0x30]
mov byte [edi + 0x10], al
mov eax, dword [edi]
mov dword [edi + 4], ebp
mov dword [eax + 0xc0], 0x44c2a0
lea ecx, [eax + 0xc0]
mov dword [eax + 0xc4], edi
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
test edx, edx
je 0x4816af
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov dword [ebx + 4], edi
mov edx, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp byte [edx + 0xe], 0
je 0x4816cd
or word [edi + 0x18], 1
movzx ecx, byte [esp + 0x49]
lea ebp, [edi + 0x24]
movzx eax, byte [esp + 0x48]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov dword [ebp], ecx
cmp ecx, 0x200
jb 0x481723
cmp ecx, 0x10000
ja 0x481723
lea eax, [ecx - 1]
test ecx, eax
jne 0x481723
mov cl, byte [esp + 0x4c]
or word [edi + 0x18], 2
mov eax, dword [esp + 0x6c]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x11], al
mov eax, dword [esp + 0x78]
bswap eax
test eax, eax
setne al
mov byte [edi + 0x12], al
jmp 0x481740
cmp dword [esp + 0x1c], 0
mov dword [ebp], 0
je 0x48173e
cmp dword [esp + 0x20], 0
jne 0x48173e
mov word [edi + 0x11], 0
xor cl, cl
movzx eax, cl
push eax
push ebp
push edx
mov dword [esp + 0x3c], eax
call fcn.0049dc40
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
mov esi, edi
test ecx, ecx
jne 0x4817c9
mov eax, dword [ebp]
sub eax, dword [esp + 0x30]
mov dword [edi + 0x28], eax
mov dword [edi + 0x44], 1
cmp byte [ebx + 9], cl
je 0x48186e
cmp byte [0x5320f4], cl
jne 0x481793
mov eax, dword [0x536f54]
mov dword [edi + 0x48], eax
mov dword [0x536f54], edi
jmp 0x48186e
push 2
call dword [0x532138]
add esp, 4
mov esi, eax
cmp byte [0x5320f4], 0
je 0x481837
push 0
call dword [0x532138]
add esp, 4
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x481837
mov dword [esp + 0x10], 7
mov esi, edi
mov ebp, dword [esp + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x4817de
push 0
push eax
call fcn.0049c9c0
add esp, 8
cmp dword [0x5320f0], 0
je 0x4819f3
mov eax, dword [0x536de8]
test eax, eax
je 0x4817fe
push eax
call dword [0x532140]
add esp, 4
push esi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push esi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x481a0b
push eax
call dword [0x532148]
add esp, 4
jmp 0x481a0b
test esi, esi
je 0x48185c
push esi
call dword [0x532140]
mov eax, dword [0x536f54]
push esi
mov dword [edi + 0x48], eax
mov dword [0x536f54], edi
call dword [0x532148]
add esp, 8
jmp 0x48186a
mov eax, dword [0x536f54]
mov dword [edi + 0x48], eax
mov dword [0x536f54], edi
mov ecx, dword [esp + 0x10]
cmp byte [ebx + 9], 0
mov esi, edi
je 0x4818fc
mov eax, dword [esp + 0x24]
xor edx, edx
mov ebp, dword [eax + 0x14]
test ebp, ebp
jle 0x4818fc
mov ecx, dword [eax + 0x10]
add ecx, 4
nop dword [eax]
mov eax, dword [ecx]
test eax, eax
je 0x48189c
cmp byte [eax + 9], 0
jne 0x4818a6
inc edx
add ecx, 0x10
cmp edx, ebp
jl 0x481890
jmp 0x4818f8
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4818b9
nop dword [eax]
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4818b0
mov edx, dword [ebx + 4]
cmp edx, dword [eax + 4]
jae 0x4818d0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov dword [eax + 0x1c], ebx
jmp 0x4818f8
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4818e5
cmp dword [ecx + 4], edx
jae 0x4818e5
mov eax, ecx
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4818d7
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
test ecx, ecx
je 0x4818f5
mov dword [ecx + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [ebp], ebx
test ecx, ecx
je 0x481920
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
test esi, esi
jne 0x4817cd
jmp 0x481a0b
mov al, byte [ebx + 9]
mov esi, dword [ebx + 4]
test al, al
je 0x481952
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x481943
push ebx
call fcn.0044c370
mov al, byte [ebx + 9]
add esp, 4
test al, al
je 0x481952
add dword [ebx + 0xc], 0xffffffff
jne 0x481952
push ebx
call fcn.004ca290
add esp, 4
cmp dword [esi + 0x34], 0
jne 0x4819d3
cmp byte [ebx + 9], 0
mov esi, dword [ebx + 4]
je 0x481973
inc dword [ebx + 0xc]
cmp byte [ebx + 0xa], 0
jne 0x481973
push ebx
call fcn.0044c370
add esp, 4
mov eax, dword [esi]
mov esi, dword [eax + 0xe4]
mov eax, dword [esi + 0x24]
add eax, dword [esi + 0x20]
cdq
push edx
push eax
push 0
push 0x1f4000
mov dword [esi + 0x18], 0xfffff830
call fcn.004e64e0
test edx, edx
jl 0x4819b1
jg 0x4819a4
cmp eax, 0x3b9aca00
jbe 0x4819b1
mov eax, 0x3b9aca00
mov dword [esp + 0x34], 0
push eax
push dword [esi + 0x34]
call dword [0x532168]
add esp, 8
cmp byte [ebx + 9], 0
je 0x4819d3
add dword [ebx + 0xc], 0xffffffff
jne 0x4819d3
push ebx
call fcn.004ca290
add esp, 4
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx]
test edx, edx
je 0x481a67
lea eax, [edi + 4]
push eax
mov eax, dword [edx + 0x28]
push 0x1e
push ecx
call eax
add esp, 0xc
jmp 0x481a67
push esi
call dword [0x532114]
add esp, 4
jmp 0x481a0b
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 7
cmp dword [0x5320f0], 0
je 0x481a56
mov eax, dword [0x536de8]
test eax, eax
je 0x481a27
push eax
call dword [0x532140]
add esp, 4
push ebx
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push ebx
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x481a60
push eax
call dword [0x532148]
jmp 0x481a5d
push ebx
call dword [0x532114]
add esp, 4
mov dword [ebp], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481a79
push eax
call dword [0x532148]
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x481398