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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x53c66d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
jmp 0x53ca8f
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], 2
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x53c7d5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov eax, 0x18
imul ecx, eax, 0
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 1
jne 0x53c6e2
mov dword [ebp - 0x38], 1
jmp 0x53c6e9
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x24]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
cmp dword [ebp - 0x2c], 0
jne 0x53c72a
cmp dword [ebp + 0x20], 0
jne 0x53c72a
cmp dword [ebp - 0x40], 0
je 0x53c734
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 1
jne 0x53c74a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
jmp 0x53c7cd
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x53c7cd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
jmp 0x53c76e
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 8]
jae 0x53c7c5
imul ecx, dword [ebp - 0x18], 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x40], 0
jne 0x53c7ba
cmp dword [ebp + 0x14], 0
je 0x53c7c3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 0x30]
jne 0x53c7c3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x53c765
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
jmp 0x53ca8f
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 1
je 0x53c81b
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x53c814
push 0x60000
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x53c814
mov eax, 2
jmp 0x53ca8f
mov dword [ebp + 0x24], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 2
mov dword [ebp - 4], 0
jmp 0x53c84c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x53ca6f
imul ecx, dword [ebp - 4], 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 4], 0
jne 0x53c888
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x44]
sub eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x48], ecx
jmp 0x53c8d0
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shl eax, 0x11
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + eax*4 + 0x30]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x3c]
sub edx, dword [esi + ecx*4 + 0x30]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x24]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, 1
cmp dword [ebp - 4], ecx
jne 0x53c8f1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x53c922
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x30]
cmp edx, dword [esi + ecx*4 + 0x3c]
je 0x53c90c
jmp 0x53c843
mov eax, dword [ebp - 4]
shl eax, 0x11
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 8], 0x20000
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp dword [eax + edx*4 + 0x68], 0
je 0x53c947
cmp dword [ebp - 0x14], 0
jne 0x53c942
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x68]
mov dword [ebp - 0x14], eax
jmp 0x53c843
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x53c993
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax*4 + 0x68], edx
cmp dword [ebp - 0x14], 0
jne 0x53c993
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x5c], 1
jne 0x53c9a2
mov dword [ebp - 0x58], 1
jmp 0x53c9a9
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
jne 0x53c9d4
mov dword [ebp - 0x68], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 1
jne 0x53c9d4
cmp dword [ebp - 0x20], 0
jne 0x53c9d4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x20], ecx
cmp dword [ebp - 4], 0
jne 0x53c9f2
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0xc]
mov dword [ebp + 0x18], edx
jmp 0x53ca09
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x2c]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x2c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 1
cmp dword [ebp - 4], eax
jne 0x53ca2f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
jmp 0x53ca57
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4 + 0x3c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4 + 0x30], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x60]
mov dword [edx + ecx*4 + 0x24], eax
cmp dword [ebp - 8], 0
jne 0x53ca63
cmp dword [ebp - 0xc], 0
je 0x53ca6a
mov dword [ebp - 0x64], 1
jmp 0x53c843
cmp dword [ebp - 0x64], 0
jne 0x53ca8a
cmp dword [ebp - 0x68], 0
je 0x53ca85
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 1
mov eax, dword [ebp - 0x14]
jmp 0x53ca8f
jmp 0x53c81b
pop esi
mov esp, ebp
pop ebp
ret 0x20