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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ebx
mov esi, dword [edi + 8]
mov eax, dword [edi]
add esi, 0x28
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esi
call fcn.0050a770
add esp, 8
mov dword [edi + 0x14], ebx
cmp dword [edi + 0x5c], 7
jne 0x53cefd
mov eax, dword [ebp - 8]
mov byte [eax + 0x1e], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 0x61]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], al
cmp al, 1
jne 0x53cf80
mov ecx, dword [edi + 8]
add ecx, 0x168
mov dword [ebp - 0x10], ecx
test byte [ecx + 0x1c], 0x10
je 0x53cf2d
mov eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 4]
shr eax, 2
mov dword [ebp - 0xc], eax
jmp 0x53cf2f
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x14], edx
cmp eax, 2
jb 0x53cf63
dec eax
xor edi, edi
mov dword [ebp - 0x14], eax
mov esi, eax
mov eax, dword [ebx + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [ebx + ecx*4 + 4]
add ecx, 2
add edi, dword [eax + 4]
cmp ecx, esi
jl 0x53cf43
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
cmp ecx, eax
jge 0x53cf72
mov eax, dword [ebx + ecx*4]
mov ecx, dword [edi + 0x1c]
add ecx, dword [eax + 4]
jmp 0x53cf75
mov ecx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x14]
add eax, edx
add ecx, eax
mov dword [ebp - 0x14], ecx
nop
mov edx, dword [edi + 0x58]
lea eax, [edx + 1]
mov dword [edi + 0x58], eax
cmp edx, ecx
jge 0x53d216
cmp byte [ebp - 1], 2
jne 0x53cfa6
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [ebp - 0x14]
jne 0x53cf80
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0
je 0x53cfeb
mov eax, dword [str.interrupted]
mov ecx, str.unknown_error
test eax, eax
mov dword [edi + 0x5c], 9
mov esi, 1
cmovne ecx, eax
lea eax, [edi + 0x38]
push ecx
push 0x5ed04c
push dword [ebp - 8]
push eax
call fcn.0052ff30
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
cmp edx, eax
jge 0x53cff7
mov eax, dword [edi + 4]
jmp 0x53d016
sub edx, eax
xor ecx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x53d011
inc ecx
sub edx, eax
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x53d004
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax]
cmp byte [edi + 0x61], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, 4
mov dword [ebp - 8], ecx
jne 0x53d0e3
mov word [esi + 0x1c], ax
mov eax, edx
cdq
mov dword [esi + 0x10], eax
mov eax, 0xa02
mov dword [esi + 0x14], edx
mov byte [esi + 0x1e], 1
mov word [esi + 0x44], ax
movzx eax, byte [ecx]
mov edx, dword [eax*4 + 0x5f0428]
mov eax, edx
mov dword [esi + 0x2c], edx
test edx, edx
je 0x53d06d
cmp byte [edx], 0
je 0x53d066
inc eax
cmp byte [eax], 0
jne 0x53d060
sub eax, edx
and eax, 0x3fffffff
mov dword [esi + 0x40], eax
mov word [esi + 0x46], 0x103
add esi, 0x50
cmp byte [ecx + 1], 0xee
jne 0x53d0e3
mov edx, dword [ebp - 0xc]
lea eax, [edx*4]
mov dword [ebp - 0x14], eax
xor eax, eax
test edx, edx
je 0x53d09f
mov ecx, dword [ecx + 0x10]
cmp dword [ebx + eax*4], ecx
je 0x53d09f
inc eax
cmp eax, edx
jl 0x53d095
cmp eax, edx
jne 0x53d0e3
lea eax, [edx*4]
push 1
add eax, 4
push eax
push dword [ebp - 0x10]
call fcn.0053d900
mov ebx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x53d0e6
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [edx + 4]
mov dword [edi + ecx], eax
mov eax, edi
or word [edx + 0x1c], 0x10
add eax, 4
mov edi, dword [ebp + 8]
mov dword [edx + 0x18], eax
jmp 0x53d0e6
mov ebx, dword [ebp - 8]
mov ecx, 4
mov word [esi + 0x1c], cx
mov eax, dword [ebx + 4]
mov byte [esi + 0x1e], 1
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov word [esi + 0x44], cx
mov eax, dword [ebx + 8]
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov byte [esi + 0x46], 1
mov word [esi + 0x6c], cx
mov eax, dword [ebx + 0xc]
cdq
push 0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov byte [esi + 0x6e], 1
add esi, 0x78
push 0x20
push esi
call fcn.0053d900
add esp, 0xc
test eax, eax
jne 0x53cef1
push 0x20
push dword [esi + 4]
mov eax, 0x602
push ebx
mov word [esi + 0x1c], ax
call fcn.004ed790
mov ecx, dword [esi + 4]
add esp, 0xc
cmp eax, ecx
je 0x53d169
push 0
push 1
push 0xffffffffffffffff
push eax
push esi
call fcn.0053e030
add esp, 0x14
jmp 0x53d188
mov eax, ecx
test ecx, ecx
je 0x53d181
cmp byte [ecx], 0
je 0x53d17a
inc eax
cmp byte [eax], 0
jne 0x53d174
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x18], eax
mov byte [esi + 0x1f], 1
mov byte [esi + 0x1e], 3
add esi, 0x28
cmp byte [edi + 0x61], 1
jne 0x53d1e4
push 0
push 4
push esi
call fcn.0053d900
add esp, 0xc
test eax, eax
jne 0x53cef1
mov eax, 0x602
mov dword [esi + 0x18], 2
mov word [esi + 0x1c], ax
movzx eax, byte [ebx + 3]
push eax
push str._.2x
push dword [esi + 4]
push 3
call fcn.004d8a90
mov word [esi + 0x1e], 0x103
mov eax, 1
add esp, 0x10
mov word [esi + 0x44], ax
mov byte [esi + 0x46], 5
movzx eax, byte [edi + 0x61]
mov ecx, 3
sub cx, ax
mov dword [edi + 0x5c], 0
mov eax, dword [edi + 8]
mov esi, 0x64
shl cx, 2
add eax, 0x28
mov dword [edi + 0x14], eax
mov eax, esi
mov word [edi + 0x30], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x65
mov dword [edi + 0x5c], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret