Function at 0x53d180
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 dword [esp + 0x20], edx
mov edi, dword [esp + 0x78]
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ecx
lea esi, [edi + 0x20]
cmp eax, edx
je 0x53d64e
cmp dword [edi + 8], 0
mov ebp, dword [ecx + 0x10]
mov bl, byte [esp + 0x80]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], 0
jbe 0x53d2b2
jmp 0x53d200
cmp word [esi], 0
mov edx, dword [esp + 0x14]
mov edi, edx
jne 0x53d240
movzx ecx, word [edx]
test bl, bl
je 0x53d222
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
movzx eax, ax
jmp 0x53d224
mov eax, ecx
movzx ecx, word [esi]
cmp ax, cx
je 0x53d2d0
test cx, cx
jne 0x53d29c
add esi, 2
cmp word [esi], 0
je 0x53d235
jmp 0x53d29c
cmp edi, dword [esp + 0x20]
je 0x53d284
movzx ecx, word [edi]
test bl, bl
je 0x53d260
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
mov edx, dword [esp + 0x14]
movzx eax, ax
jmp 0x53d262
mov eax, ecx
cmp ax, word [esi]
jne 0x53d284
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x53d240
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1c], 0
je 0x53d2e5
mov eax, edx
jmp 0x53d64e
cmp word [esi], 0
je 0x53d273
lea ebx, [ebx]
add esi, 2
cmp word [esi], 0
jne 0x53d290
add esi, 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 8]
jb 0x53d200
mov ecx, dword [esp + 0x14]
movzx ecx, word [ecx]
test bl, bl
je 0x53d2f7
mov eax, dword [ebp]
mov edx, dword [eax]
call fcn.00549060
movzx ebx, ax
mov dword [esp + 0x20], ebx
jmp 0x53d2ff
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x1c], 0
mov eax, edi
jne 0x53d64e
jmp 0x53d64b
lea eax, [edx + 2]
cmp edi, edx
je 0x53d64e
mov eax, edi
jmp 0x53d64e
mov edx, ecx
mov dword [esp + 0x20], edx
mov ebx, ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp eax, ecx
jne 0x53d315
cmp dword [edi + 0x10], ecx
je 0x53d5e8
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 0x53d4bb
mov eax, dword [esp + 0x28]
test dword [eax + 0x18], 0x200000
jne 0x53d358
mov edi, 1
xor ecx, ecx
mov word [esp + 0x2c], bx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e], cx
jmp 0x53d3a6
xor edx, edx
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x1e], dx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov word [esp + 0x24], 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 0x53d3a2
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 0x53d4bb
xor ecx, ecx
cmp cx, word [esi]
jne 0x53d3d9
test edi, edi
je 0x53d410
cmp edi, 1
jne 0x53d3d9
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53d3d4
lea eax, [esp + 0x2c]
cmp word [eax], cx
je 0x53d410
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53d3e0
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 0x53d490
mov edi, dword [esp + 0x3c]
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x53d410
add esi, 2
xor edx, edx
cmp dx, word [esi]
jne 0x53d440
test edi, edi
je 0x53d466
cmp edi, 1
jne 0x53d440
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53d43b
lea eax, [esp + 0x2c]
cmp word [eax], dx
je 0x53d466
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53d445
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 0x53d4a0
cmp byte [ebp + 0x1c], 0
mov esi, dword [esp + 0x14]
jne 0x53d473
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x53d487
mov eax, dword [esp + 0x2c]
push eax
call fcn.0055ae44
add esp, 4
mov eax, esi
jmp 0x53d64e
add esi, 2
cmp word [esi], 0
jne 0x53d490
add esi, 2
lea esp, [esp]
add esi, 2
cmp word [esi], 0
jne 0x53d4a0
inc ebx
add esi, 2
cmp ebx, dword [ebp + 0xc]
jae 0x53d4bb
mov edi, dword [esp + 0x3c]
jmp 0x53d3b5
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x53d5a9
mov dx, word [esp + 0x20]
xor eax, eax
lea ecx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x1c], dx
lea edx, [esp + 0x1c]
mov word [esp + 0x1e], ax
push edx
lea eax, [esp + 0x50]
push eax
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 0x53d51a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0055ae44
add esp, 4
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
cmp dword [ebx + 0x10], ebp
jbe 0x53d5a9
jmp 0x53d540
mov edi, dword [esp + 0x3c]
xor eax, eax
cmp ax, word [esi]
jne 0x53d571
test edi, edi
je 0x53d604
cmp edi, 1
jne 0x53d571
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x53d567
lea eax, [esp + 0x2c]
cmp word [eax], 0
je 0x53d604
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53d576
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 0x53d604
add esi, 2
cmp word [esi], 0
jne 0x53d597
inc ebp
add esi, 2
cmp ebp, dword [ebx + 0x10]
jb 0x53d540
cmp dword [esp + 0x40], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x53d5c5
mov edx, dword [esp + 0x2c]
push edx
call fcn.0055ae44
add esp, 4
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov ecx, dword [edi + 0x14]
push ecx
push ebx
mov ecx, ebp
call fcn.00537310
cmp al, 1
jne 0x53d62d
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
jne 0x53d64e
jmp 0x53d64b
cmp byte [ebx + 0x1c], 0
mov esi, dword [esp + 0x14]
jne 0x53d611
add esi, 2
cmp dword [esp + 0x40], 8
jb 0x53d487
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0055ae44
add esp, 4
mov eax, esi
jmp 0x53d64e
mov eax, dword [edi + 0x18]
test eax, eax
je 0x53d641
push eax
push ebx
mov ecx, ebp
call fcn.00537310
test al, al
je 0x53d5f8
cmp byte [edi + 0x1c], 0
mov eax, dword [esp + 0x14]
je 0x53d64e
add eax, 2
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 0xc