Function at 0x537da8
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.004ed3dc
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x84]
mov dword [esp], ecx
push dword [esi + 0x64]
call fcn.005142a0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
cmp ebp, 0xd
je 0x538558
mov dword [esi + 0x74], ebp
mov ecx, esi
call fcn.00587b88
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 0x537e76
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 0x537f08
mov eax, dword [esp + 0xc]
movsx edx, ax
test edx, edx
jl 0x538513
mov eax, dword [esp + 0x10]
add eax, edx
movsx eax, ax
test eax, eax
jl 0x537f08
cmp eax, 0xa3
jge 0x537f08
movsx edi, word [eax*2 + 0x7535e0]
cmp dx, word [edi*2 + 0x753520]
je 0x5383fd
mov eax, dword [esp + 0x14]
movsx eax, word [eax*2 + 0x753460]
cmp eax, 0xfffffffe
je 0x53844a
test eax, eax
je 0x538564
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 0x537fbe
movsx edi, word [edx*2 + 0x7535e0]
movsx edx, word [edi*2 + 0x753520]
mov ecx, dword [esp + 0x10]
neg ecx
cmp edx, ecx
je 0x537fca
mov edx, dword [esp + 0x14]
movsx edi, word [edx*2 + 0x7535e0]
dec eax
cmp eax, 0x20
ja case.default.0x537fdb
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 0x537e5d
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 0x537e5d
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 0x537e5d
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 0x537e5d
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.005877dc
mov edx, dword [esi + 4]
jmp 0x537e5d
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.005877dc
mov edx, dword [esi + 4]
jmp 0x537e5d
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 0x537e5d
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 0x537e5d
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.00587868
jmp 0x5383e4
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.00587868
jmp 0x5383e4
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.00587868
jmp 0x5383e4
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587820
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587820
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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.00587764
mov edx, dword [esi + 4]
jmp 0x537e5d
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 0x537e5d
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.00587710
mov edx, dword [esi + 4]
jmp 0x537e5d
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588a60
jmp 0x5383e4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.00588644
jmp 0x5383e4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.00588858
jmp 0x5383e4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.005887dc
jmp 0x5383e4
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.0058870c
jmp 0x5383e4
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.005886cc
jmp 0x5383e4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.005885a4
jmp 0x5383e4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0x78]
add eax, 0xffffffd8
push eax
push edx
mov ecx, esi
call fcn.005883ac
jmp 0x5383e4
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.005888cc
jmp 0x5383e4
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.005888cc
jmp 0x5383e4
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588894
jmp 0x5383e4
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00587c5c
cmp eax, 1
je 0x538573
mov edx, dword [esi + 4]
jmp 0x537e5d
mov edx, dword [esi + 4]
jmp 0x537e5d
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 0x537e5d
mov eax, dword [esp + 0xc]
movsx edx, ax
test edx, edx
jl 0x5384db
mov edx, 0x7537f8
mov eax, dword [esp + 0x14]
jmp 0x538467
add edx, 4
movzx edi, word [edx]
cmp edi, 0xffff
jne 0x538464
cmp ax, word [edx + 2]
jne 0x538464
lea eax, [edx + 4]
movsx edx, word [edx + 4]
test edx, edx
jl 0x53849a
mov edx, dword [esp + 0xc]
movsx edx, dx
cmp dx, word [eax]
je 0x53849a
movsx edi, word [eax + 4]
add eax, 4
test edi, edi
jge 0x53848a
movsx eax, word [eax + 2]
test eax, eax
jge 0x537f1d
mov eax, dword [esi + 0x1bc]
mov dword [esi + 0x90], eax
mov dword [esi + 0xa4], eax
mov ecx, dword [esp]
call fcn.00512804
mov eax, dword [esp]
push eax
push 4
mov ecx, dword [esp + 0x38]
call fcn.004ffc7c
xor eax, eax
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov ecx, esi
call fcn.005386c0
mov dword [esp + 0xc], eax
movsx edx, ax
cmp edx, 0x10e
jne 0x538459
mov al, byte [esp + 4]
cmp al, 1
je 0x538508
mov al, 1
mov byte [esp + 4], al
jmp 0x538459
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x538459
mov ecx, esi
call fcn.005386c0
mov dword [esp + 0xc], eax
movsx edx, ax
cmp edx, 0x10e
je 0x538531
movsx edx, ax
jmp 0x537ede
mov al, byte [esp + 4]
cmp al, 1
je 0x53854b
mov al, 1
mov byte [esp + 4], al
mov edx, dword [esp + 0xc]
movsx edx, dx
jmp 0x537ede
xor eax, eax
mov dword [esp + 0xc], eax
xor edx, edx
jmp 0x537ede
mov dword [esi + 0x74], 0
jmp 0x537e19
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