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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1c
mov esi, ecx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
xor al, al
mov byte [esp + 4], al
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x40]
call fcn.00416dc0
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 4
mov dword [esi + 0x80], ebx
mov ecx, ebx
xor edx, edx
call fcn.004ed394
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x84]
mov dword [esp], ecx
push dword [esi + 0x64]
call fcn.005142d8
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
cmp ebp, 0xd
je 0x5385d4
mov dword [esi + 0x74], ebp
mov ecx, esi
call fcn.00587c50
xor edi, edi
lea eax, [esi + 0x14]
xor edx, edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x34], edx
mov ecx, 0xffffffff
mov edx, dword [esi + 4]
lea ebp, [edx - 2]
mov ebx, dword [esi]
add ebx, 0xffffffd8
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
add ebp, 2
add edx, 0x7e
cmp ebp, edx
jbe 0x537ef2
mov eax, 1
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov word [ebp], di
add ebx, 0x28
mov eax, dword [esi + 0x14]
mov dword [ebx], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], edx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x24], eax
mov dword [esp + 0x14], edi
movsx eax, word [edi*2 + 0x753740]
mov dword [esp + 0x10], eax
cmp eax, 0xfffffc18
jle 0x537f84
mov eax, dword [esp + 0xc]
movsx edx, ax
test edx, edx
jl 0x53858f
mov eax, dword [esp + 0x10]
add eax, edx
movsx eax, ax
test eax, eax
jl 0x537f84
cmp eax, 0xa3
jge 0x537f84
movsx edi, word [eax*2 + 0x7535e0]
cmp dx, word [edi*2 + 0x753520]
je 0x538479
mov eax, dword [esp + 0x14]
movsx eax, word [eax*2 + 0x753460]
cmp eax, 0xfffffffe
je 0x5384c6
test eax, eax
je 0x5385e0
movsx edi, word [eax*2 + 0x753400]
lea edx, [edi + edi]
neg edx
add ebp, edx
mov dword [esp + 0x18], ebx
imul edx, edi, 0xffffffd8
add ebx, edx
mov edx, dword [ebx + 0x28]
mov dword [esi + 0x14], edx
mov edx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x30]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x20], edx
mov edx, dword [ebx + 0x38]
mov dword [esi + 0x24], edx
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edi
mov edx, dword [ebx + 0x44]
mov dword [esi + 0x30], edx
mov edx, dword [ebx + 0x48]
mov dword [esi + 0x34], edx
mov edx, dword [ebx + 0x4c]
mov dword [esi + 0x38], edx
movsx edx, word [eax*2 + 0x7533a0]
mov dword [esp + 0x10], edx
movsx edi, word [edx*2 + 0x7537e4]
mov dword [esp + 0x14], edi
movzx edx, word [ebp]
lea edx, [edx + edi + 1]
movsx edx, dx
cmp edx, 0xa3
jge 0x53803a
movsx edi, word [edx*2 + 0x7535e0]
movsx edx, word [edi*2 + 0x753520]
mov ecx, dword [esp + 0x10]
neg ecx
cmp edx, ecx
je 0x538046
mov edx, dword [esp + 0x14]
movsx edi, word [edx*2 + 0x7535e0]
dec eax
cmp eax, 0x20
ja case.default.0x538057
mov eax, dword [eax*4 + 0x753820]
jmp eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x18]
sub eax, dword [edx - 0x24]
sbb ecx, dword [edx - 0x20]
mov dword [edx - 0x24], eax
mov dword [edx - 0x20], ecx
mov dword [esi + 0x14], 4
mov eax, dword [edx - 0x24]
mov ecx, dword [edx - 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edx - 0x1c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov edx, dword [esi + 4]
jmp 0x537ed9
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x18]
sub eax, dword [edx - 0x24]
sbb ecx, dword [edx - 0x20]
mov dword [edx - 0x24], eax
mov dword [edx - 0x20], ecx
mov dword [esi + 0x14], 4
mov eax, dword [edx - 0x24]
mov ecx, dword [edx - 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edx - 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [edx - 0x18]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 4]
jmp 0x537ed9
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x18]
sub eax, dword [edx + 4]
sbb ecx, dword [edx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [esi + 0x14], 4
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov edx, dword [esi + 4]
jmp 0x537ed9
mov dword [esi + 0x14], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x28]
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005878a4
mov edx, dword [esi + 4]
jmp 0x537ed9
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x28]
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005878a4
mov edx, dword [esi + 4]
jmp 0x537ed9
mov dword [esi + 0x14], 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 4]
jmp 0x537ed9
mov dword [esi + 0x14], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov edx, dword [esi + 4]
jmp 0x537ed9
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x50]
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x50]
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x50]
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x28]
push 0
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x50]
lea edx, [eax - 0x28]
push eax
push edx
push ecx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005878e8
mov edx, dword [esi + 4]
jmp 0x537ed9
mov ecx, dword [esp + 0x18]
lea edx, [ecx - 0x28]
lea eax, [ecx - 0x50]
push eax
push edx
push ecx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005878e8
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x50]
add eax, 0xffffffd8
push 1
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x28]
add eax, 0xffffffb0
push 1
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x28]
push 1
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x28]
push 0
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x28]
push 0
push eax
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x537ed9
mov dword [esi + 0x14], 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.005877d8
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588b28
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.0058870c
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.00588920
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.005888a4
jmp 0x538460
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc8]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
push ecx
mov ecx, esi
call fcn.005887d4
jmp 0x538460
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc8]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
push ecx
mov ecx, esi
call fcn.00588794
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.0058866c
jmp 0x538460
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.00588474
jmp 0x538460
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588994
jmp 0x538460
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588994
jmp 0x538460
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.0058895c
jmp 0x538460
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00587d24
cmp eax, 1
je 0x5385ef
mov edx, dword [esi + 4]
jmp 0x537ed9
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, 0xffffffff
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [esi + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x58]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x38], eax
mov edx, dword [esi + 4]
jmp 0x537ed9
mov eax, dword [esp + 0xc]
movsx edx, ax
test edx, edx
jl 0x538557
mov edx, 0x7537f8
mov eax, dword [esp + 0x14]
jmp 0x5384e3
add edx, 4
movzx edi, word [edx]
cmp edi, 0xffff
jne 0x5384e0
cmp ax, word [edx + 2]
jne 0x5384e0
lea eax, [edx + 4]
movsx edx, word [edx + 4]
test edx, edx
jl 0x538516
mov edx, dword [esp + 0xc]
movsx edx, dx
cmp dx, word [eax]
je 0x538516
movsx edi, word [eax + 4]
add eax, 4
test edi, edi
jge 0x538506
movsx eax, word [eax + 2]
test eax, eax
jge 0x537f99
mov eax, dword [esi + 0x1bc]
mov dword [esi + 0x90], eax
mov dword [esi + 0xa4], eax
mov ecx, dword [esp]
call fcn.0051283c
mov eax, dword [esp]
push eax
push 4
mov ecx, dword [esp + 0x38]
call fcn.004ffcbc
xor eax, eax
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov ecx, esi
call fcn.0053873c
mov dword [esp + 0xc], eax
movsx edx, ax
cmp edx, 0x10e
jne 0x5384d5
mov al, byte [esp + 4]
cmp al, 1
je 0x538584
mov al, 1
mov byte [esp + 4], al
jmp 0x5384d5
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x5384d5
mov ecx, esi
call fcn.0053873c
mov dword [esp + 0xc], eax
movsx edx, ax
cmp edx, 0x10e
je 0x5385ad
movsx edx, ax
jmp 0x537f5a
mov al, byte [esp + 4]
cmp al, 1
je 0x5385c7
mov al, 1
mov byte [esp + 4], al
mov edx, dword [esp + 0xc]
movsx edx, dx
jmp 0x537f5a
xor eax, eax
mov dword [esp + 0xc], eax
xor edx, edx
jmp 0x537f5a
mov dword [esi + 0x74], 0
jmp 0x537e95
mov eax, 1
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, 1
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c