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

Disassembly:
push 0xffffffffffffffff
push 0x591b38
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5ed80c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x80]
mov edi, edx
mov edx, dword [esp + 0x78]
mov eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
lea esi, [edi + 0x20]
cmp edx, dword [esp + 0x7c]
je 0x53f836
cmp dword [edi + 8], 0
mov ebp, dword [ebx + 0x10]
mov bl, byte [esp + 0x84]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 0
jbe 0x53f486
lea ebx, [ebx]
cmp word [esi], 0
mov edi, edx
mov dword [esp + 0x18], edi
jne 0x53f400
movzx ecx, word [edx]
test bl, bl
je 0x53f3d6
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
mov edx, dword [esp + 0x78]
movzx eax, ax
jmp 0x53f3d8
mov eax, ecx
movzx ecx, word [esi]
cmp ax, cx
je 0x53f4a0
test cx, cx
jne 0x53f470
lea ecx, [ecx]
add esi, 2
cmp word [esi], 0
je 0x53f3f0
jmp 0x53f470
cmp edi, dword [esp + 0x7c]
je 0x53f457
movzx ecx, word [edi]
test bl, bl
je 0x53f41c
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
movzx eax, ax
jmp 0x53f41e
mov eax, ecx
cmp ax, word [esi]
jne 0x53f457
add esi, 2
add edi, 2
cmp word [esi], 0
mov dword [esp + 0x18], edi
jne 0x53f400
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x1c], 0
jne 0x53f44c
cmp edi, dword [esp + 0x78]
jne 0x53f4c0
add dword [esp + 0x78], 2
lea eax, [esp + 0x78]
mov ecx, dword [eax]
jmp 0x53f849
cmp word [esi], 0
je 0x53f433
lea ecx, [ecx]
add esi, 2
cmp word [esi], 0
jne 0x53f460
mov edx, dword [esp + 0x78]
add esi, 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 8]
jb 0x53f3b0
movzx ecx, word [edx]
test bl, bl
je 0x53f4cb
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
movzx ebx, ax
mov dword [esp + 0x18], ebx
jmp 0x53f4d3
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1c], 0
jne 0x53f4b5
cmp edi, edx
jne 0x53f4c0
add edx, 2
mov dword [esp + 0x78], edx
lea eax, [esp + 0x78]
mov ecx, dword [eax]
jmp 0x53f849
lea eax, [esp + 0x18]
mov ecx, dword [eax]
jmp 0x53f849
mov edx, ecx
mov dword [esp + 0x18], edx
mov ebx, ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x53f4e9
cmp dword [edi + 0x10], ecx
je 0x53f7c7
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ecx
mov word [esp + 0x2c], dx
mov dword [esp + 0x70], ecx
cmp eax, ecx
je 0x53f69d
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x200000
jne 0x53f52c
mov edi, 1
xor ecx, ecx
mov word [esp + 0x2c], bx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e], cx
jmp 0x53f57a
xor edx, edx
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x18]
mov word [esp + 0x1a], dx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov word [esp + 0x20], bx
call fcn.00538870
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 1
call fcn.004060b0
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x70], 0
jb 0x53f576
mov eax, dword [esp + 0x48]
push eax
call fcn.0055ae44
add esp, 4
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jbe 0x53f69d
lea esp, [esp]
xor ecx, ecx
cmp cx, word [esi]
jne 0x53f5b4
test edi, edi
je 0x53f5f0
cmp edi, 1
jne 0x53f5b4
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53f5af
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x53f5f0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53f5c0
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.004029b0
test eax, eax
js 0x53f676
mov edi, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x53f5f0
add esi, 2
xor edx, edx
cmp dx, word [esi]
jne 0x53f620
test edi, edi
je 0x53f646
cmp edi, 1
jne 0x53f620
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53f61b
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x53f646
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53f625
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.004029b0
test eax, eax
jg 0x53f682
cmp byte [ebp + 0x1c], 0
jne 0x53f651
add dword [esp + 0x78], 2
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov dword [esi], eax
jb 0x53f66f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
mov eax, esi
jmp 0x53f84f
add esi, 2
cmp word [esi], 0
jne 0x53f676
add esi, 2
add esi, 2
cmp word [esi], 0
jne 0x53f682
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x53f69d
mov edi, dword [esp + 0x3c]
jmp 0x53f590
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x10], 0
je 0x53f788
mov ax, word [esp + 0x18]
xor ecx, ecx
lea edx, [esp + 0x16]
mov word [esp + 0x14], ax
push edx
mov word [esp + 0x1a], cx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0053c760
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.004060b0
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x70], 0
jb 0x53f6fc
mov edx, dword [esp + 0x48]
push edx
call fcn.0055ae44
add esp, 4
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], ax
cmp dword [ebx + 0x10], ebp
jbe 0x53f788
lea ebx, [ebx]
mov edi, dword [esp + 0x3c]
xor ecx, ecx
cmp cx, word [esi]
jne 0x53f750
test edi, edi
je 0x53f7df
cmp edi, 1
jne 0x53f750
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53f747
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x53f7df
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53f755
sub eax, edx
sar eax, 1
push eax
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.004029b0
test eax, eax
je 0x53f7df
add esi, 2
cmp word [esi], 0
jne 0x53f776
inc ebp
add esi, 2
cmp ebp, dword [ebx + 0x10]
jb 0x53f720
cmp dword [esp + 0x40], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x53f7a4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], dx
mov eax, dword [edi + 0x14]
push eax
push ebx
mov ecx, ebp
call fcn.00537310
cmp al, 1
jne 0x53f810
cmp byte [edi + 0x1c], 0
jne 0x53f845
jmp 0x53f840
cmp byte [ebx + 0x1c], 0
jne 0x53f7ea
add dword [esp + 0x78], 2
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
mov dword [esi], edx
jb 0x53f66f
mov eax, dword [esp + 0x2c]
push eax
call fcn.0055ae44
add esp, 4
mov eax, esi
jmp 0x53f84f
mov eax, dword [edi + 0x18]
test eax, eax
je 0x53f83a
push eax
push ebx
mov ecx, ebp
call fcn.00537310
test al, al
jne 0x53f83a
cmp byte [edi + 0x1c], al
jne 0x53f82e
add dword [esp + 0x78], 2
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax], edx
jmp 0x53f84f
cmp byte [edi + 0x1c], 0
je 0x53f845
add dword [esp + 0x78], 2
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0055bc32
add esp, 0x60
ret 0x10