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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x54183c4]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov ebx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x53b192c
cmp byte [eax], 0
je 0x53b192c
xor esi, esi
jmp 0x53b1931
mov esi, 1
cmp eax, edi
je 0x53b1969
mov ecx, str.:memory:
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53b1960
test dl, dl
je 0x53b195c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53b1960
add eax, 2
add ecx, 2
test dl, dl
jne 0x53b1940
xor eax, eax
jmp 0x53b1965
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x53b197e
cmp esi, edi
je 0x53b1973
cmp byte [ebx + 0x3f], 2
je 0x53b197e
mov ebx, dword [ebp + 0x14]
test bl, bl
js 0x53b1981
xor eax, eax
jmp 0x53b198a
mov ebx, dword [ebp + 0x14]
or dword [ebp + 0x10], 2
mov eax, 1
mov dword [esp + 0x24], eax
test ebx, 0x100
je 0x53b19ad
cmp eax, edi
jne 0x53b199e
cmp esi, edi
je 0x53b19ad
and ebx, 0xfffffeff
or ebx, 0x200
mov dword [ebp + 0x14], ebx
push 0x2c
call fcn.0537ecf0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x53b1a29
push 0x2c
push 0
push edi
call fcn.05351b20
mov edx, dword [esp + 0x24]
add esp, 0xc
mov byte [edi + 8], 0
mov dword [edi], edx
mov dword [edi + 0x1c], edi
mov dword [edi + 0x20], 1
test esi, esi
jne 0x53b1bb4
cmp dword [esp + 0x24], esi
je 0x53b19f9
test bl, 0x40
je 0x53b1bb4
test ebx, 0x20000
je 0x53b1bb4
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 8]
inc esi
push esi
call fcn.0537ecf0
mov ebx, eax
add esp, 4
mov byte [edi + 9], 1
test ebx, ebx
jne 0x53b1a43
push edi
call fcn.05378d40
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
je 0x53b1a73
call fcn.05373120
inc eax
push eax
push ecx
push ebx
call fcn.05353940
add esp, 0xc
xor esi, esi
cmp dword [0x541994c], esi
jne 0x53b1aa2
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
jmp 0x53b1aec
mov eax, dword [esp + 0x20]
push ebx
push esi
push ecx
mov byte [ebx], 0
mov edx, dword [eax + 0x24]
push eax
call edx
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x53b1a5f
push ebx
call fcn.05378d40
add esp, 4
push edi
call fcn.05378d40
jmp 0x53b1f19
push 4
call dword [0x5419994]
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
je 0x53b1abf
push eax
call dword [0x541999c]
add esp, 4
cmp dword [0x541994c], esi
jne 0x53b1acd
mov dword [esp + 0x30], esi
jmp 0x53b1aec
push 2
call dword [0x5419994]
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
je 0x53b1aec
push esi
call dword [0x541999c]
add esp, 4
mov eax, dword [0x541d7b0]
mov dword [esp + 0x14], eax
test eax, eax
je 0x53b1b8f
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov ecx, dword [esi + 0xa8]
mov eax, ebx
jmp 0x53b1b10
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53b1b30
test dl, dl
je 0x53b1b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53b1b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x53b1b10
xor eax, eax
jmp 0x53b1b35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x53b1b41
mov ecx, dword [esp + 0x20]
cmp dword [esi], ecx
je 0x53b1b52
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x44]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x53b1afd
jmp 0x53b1b8b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
dec eax
js 0x53b1b81
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0x14]
mov edx, eax
add edx, edx
lea ecx, [ecx + edx*8 + 4]
jmp 0x53b1b70
mov edx, dword [ecx]
test edx, edx
je 0x53b1b7b
cmp dword [edx + 4], esi
je 0x53b1be6
sub ecx, 0x10
dec eax
jns 0x53b1b70
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
inc dword [eax + 0x40]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x53b1b9d
push esi
call dword [0x54199a4]
add esp, 4
push ebx
call fcn.05378d40
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x53b1dea
mov ebx, dword [ebp + 0x14]
push 0x54
call fcn.0537ecf0
mov edi, eax
add esp, 4
test edi, edi
je 0x53b1bd1
push 0x54
push 0
push edi
call fcn.05351b20
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x53b1c36
mov dword [esp + 0x10], 7
jmp 0x53b1e78
mov eax, dword [esp + 0x30]
test eax, eax
je 0x53b1bf8
push eax
call dword [0x54199a4]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x53b1c0a
push eax
call dword [0x54199a4]
add esp, 4
push ebx
call fcn.05378d40
add esp, 4
push edi
call fcn.05378d40
add esp, 4
mov eax, 0x13
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push edi
push eax
mov ecx, ebx
call fcn.053ad810
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x53b1e78
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edi]
push ecx
push edx
call fcn.0537b800
mov eax, dword [edi]
push eax
lea esi, [esp + 0x44]
call fcn.053774d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x53b1e78
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov byte [edi + 0x10], bl
lea ecx, [eax + 0xb0]
mov dword [eax + 0xb4], edi
mov eax, dword [eax + 0x3c]
xor esi, esi
mov dword [ecx], 0x5370fa0
cmp dword [eax], esi
je 0x53b1cbe
mov edx, dword [eax]
push ecx
push 0xf
push eax
mov eax, dword [edx + 0x28]
call eax
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edi
mov eax, dword [edi]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
cmp byte [eax + 0xd], 0
je 0x53b1cd8
or word [edi + 0x16], 1
movzx eax, byte [esp + 0x49]
movzx edx, byte [esp + 0x48]
shl eax, 8
or eax, edx
shl eax, 8
mov dword [edi + 0x20], eax
cmp eax, 0x200
jb 0x53b1d2f
cmp eax, 0x10000
ja 0x53b1d2f
lea ecx, [eax - 1]
test eax, ecx
jne 0x53b1d2f
mov bl, byte [esp + 0x4c]
or word [edi + 0x16], 2
lea ecx, [esp + 0x6c]
call fcn.05372640
test eax, eax
setne dl
lea ecx, [esp + 0x78]
mov byte [edi + 0x11], dl
call fcn.05372640
test eax, eax
setne al
mov byte [edi + 0x12], al
jmp 0x53b1d44
mov dword [edi + 0x20], esi
cmp dword [esp + 0x2c], esi
je 0x53b1d42
cmp dword [esp + 0x24], esi
jne 0x53b1d42
mov word [edi + 0x11], si
xor bl, bl
movzx esi, bl
mov ebx, dword [edi]
lea eax, [edi + 0x20]
push esi
push eax
call fcn.05385920
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x53b1e78
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
sub ecx, esi
mov dword [edi + 0x24], ecx
cmp byte [edx + 9], al
je 0x53b1de8
mov dword [edi + 0x40], 1
cmp dword [0x541994c], eax
jne 0x53b1dab
xor esi, esi
push esi
call fcn.053735b0
mov ecx, dword [0x541d7b0]
add esp, 4
push esi
mov dword [edi + 0x44], ecx
mov dword [0x541d7b0], edi
call fcn.05373570
mov edi, dword [esp + 0x20]
add esp, 4
jmp 0x53b1dea
push 2
call dword [0x5419994]
add esp, 4
cmp dword [0x541994c], 0
mov esi, eax
je 0x53b1d84
push 0
call dword [0x5419994]
add esp, 4
mov dword [edi + 0x38], eax
test eax, eax
jne 0x53b1d84
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 7
mov byte [eax + 0x40], 0
jmp 0x53b1e78
mov edi, edx
cmp byte [edi + 9], 0
je 0x53b1e6b
mov esi, dword [esp + 0x18]
xor edx, edx
cmp dword [esi + 0x14], edx
jle 0x53b1e6b
mov ecx, dword [esi + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x53b1e0d
cmp byte [eax + 9], 0
jne 0x53b1e18
inc edx
add ecx, 0x10
cmp edx, dword [esi + 0x14]
jl 0x53b1e01
jmp 0x53b1e6b
cmp dword [eax + 0x18], 0
je 0x53b1e29
mov edi, edi
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x18], 0
jne 0x53b1e20
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x53b1e40
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [eax + 0x18], edi
jmp 0x53b1e6b
cmp dword [eax + 0x14], 0
je 0x53b1e56
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], edx
jae 0x53b1e56
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x53b1e46
mov edx, dword [eax + 0x14]
mov ecx, edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
test ecx, ecx
je 0x53b1e68
mov dword [ecx + 0x18], edi
mov dword [eax + 0x14], edi
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x34]
mov dword [eax], edi
je 0x53b1ead
mov esi, dword [esp + 0x14]
test esi, esi
je 0x53b1e8b
mov eax, dword [esi]
test eax, eax
je 0x53b1e8b
call fcn.053a9b60
push esi
call fcn.05378d40
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call fcn.05378d40
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [edx], 0
jmp 0x53b1f0a
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 4]
call fcn.0537ae90
cmp byte [edi + 9], 0
je 0x53b1edc
dec dword [edi + 0xc]
jne 0x53b1edc
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x53b1ed8
push eax
call dword [0x54199a4]
add esp, 4
mov byte [edi + 0xa], 0
cmp dword [esi + 0x30], 0
jne 0x53b1f0a
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
mov dword [eax + 0x10], 0x7d0
mov eax, dword [eax + 0x28]
test eax, eax
je 0x53b1f0a
push 0x7d0
push eax
call dword [0x54199c4]
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x53b1f1c
push eax
call dword [0x54199a4]
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret