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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push 2
call fcn.0053b370
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov ebx, 1
push ebx
push esi
push eax
call dword [0x100cf06c]
xor edi, edi
cmp eax, edi
je 0x53d3e3
jmp 0x53d214
mov eax, dword [esp + 0x10]
cmp eax, ebx
jb 0x53d3f7
add eax, 0x100
cmp ebx, eax
mov dword [esp + 0x10], eax
jae 0x53d3c9
cmp esi, edi
je 0x53d2f6
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x24]
mov ecx, 0x100ef4b4
mov eax, 0x100ef4b8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0xe]
mov edi, ecx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
call fcn.00535220
test al, al
je 0x53d28b
mov eax, dword [esp + 0x50]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push esi
push 1
push edx
mov byte [esp + 0x68], al
call dword [0x100cf260]
cmp byte [esp + 0x5c], 0
je 0x53d2f0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x53d2f0
mov edx, ecx
mov dword [edx], 0
mov eax, dword [edi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x53d2f0
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
jne 0x53d301
xor esi, esi
jmp 0x53d3c9
mov dword [esp + 0x34], edi
mov eax, 0x100ef4b8
mov ecx, 0x100ef4b4
mov dword [esp + 0x3c], edi
lea edx, [esp + 0x60]
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
lea ebx, [esp + 0xf]
mov edi, edx
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
call fcn.00535220
test al, al
je 0x53d357
mov eax, dword [esp + 0x70]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
push ecx
push 1
push edx
call dword [0x100cf14c]
cmp byte [esp + 0x7c], 0
mov esi, eax
je 0x53d3c3
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [edi + 0x10]
cmp dword [ecx], 0
lea eax, [edi + 0x10]
jne 0x53d3c3
mov edx, ecx
mov dword [edx], 0
mov eax, dword [edi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x53d3c3
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x10]
xor edi, edi
push eax
mov ebx, eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [0x100cf06c]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x53d210
cmp esi, edi
je 0x53d3ee
mov eax, esi
call fcn.00472510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov ebx, esi
lea edi, [esp + 0x14]
call fcn.00475be0
mov ebx, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
call fcn.00475be0
test ebx, ebx
je 0x53d425
mov eax, ebx
call fcn.00472510
test esi, esi
je 0x53d430
mov eax, esi
call fcn.00472510
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret