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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x5369d8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5371e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2c4]
mov eax, dword [0x59ee34]
mov eax, dword [eax]
mov ecx, 0x1f4
call fcn.0045c370
test al, al
je 0x5371bf
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00562bb0
mov dword [ebp - 0x40], eax
call fcn.00562be0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x40], 0
je 0x536a83
mov eax, dword [ebp - 0x40]
call fcn.005700f0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [eax + 0x3d8], edx
jmp 0x536a88
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x44], 0
je 0x536aa6
mov eax, dword [ebp - 0x44]
call fcn.005700f0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
xor edx, edx
mov dword [eax + 0x3d8], edx
jmp 0x536aab
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
add eax, 0x2a0
call fcn.004065ac
mov eax, dword [ebp - 4]
add eax, 0x2a4
call fcn.004065ac
mov eax, dword [ebp - 4]
add eax, 0x2a8
call fcn.004065ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov al, byte [eax + 0x20]
mov byte [ebp - 0x45], al
mov eax, dword [0x59ec88]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.0042cb70
dec eax
cmp eax, 0
jl 0x536d9d
mov dword [ebp - 0x3c], eax
mov eax, dword [0x59ec88]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x3c]
call fcn.0042ca60
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x44], 0
je 0x536d90
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
sub al, 2
jb 0x536b38
sub al, 3
je 0x536b38
add al, 0xfe
sub al, 4
jae 0x536c9d
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x38]
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp al, 8
jne 0x536b89
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x38]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
fild qword [ebp - 0x70]
mov eax, dword [ebp - 0x38]
fild dword [eax + 0x47]
fdiv dword [0x5371f0]
fmulp st(1)
call fcn.00404b68
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x536b9e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 0x63]
adc edx, dword [ecx + 0x67]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp al, 0xa
jne 0x536c0b
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x38]
call fcn.004fadc0
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x184]
add edx, 0x6c
call fcn.0046e960
test al, al
je 0x536bdc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x536c88
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x38]
call fcn.004fadc0
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x17c]
add edx, 0x6c
call fcn.0046e960
test al, al
je 0x536c88
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
jmp 0x536c88
cmp dword [ebp - 0x40], 0
je 0x536c88
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
sub al, 7
jne 0x536c37
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0xc]
call fcn.00406e60
jne 0x536c88
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x536c88
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
sub al, 8
jne 0x536c6d
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x7c]
mov ecx, 0
call fcn.00407098
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0xc]
call fcn.00406e60
jne 0x536c88
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x536c88
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
test al, al
je 0x536c88
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x536c9d
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x4b]
add dword [eax + 0x3d8], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x4b]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x4f]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 0x6b]
adc edx, dword [ecx + 0x6f]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x45], 0
jne 0x536d59
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x46], 0
je 0x536d1d
inc dword [ebp - 0x4c]
cmp byte [ebp - 0x45], 0
je 0x536d90
mov eax, dword [ebp - 4]
push dword [eax + 0x2a8]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
call fcn.004072c8
push dword [ebp - 0x78]
push 0x537200
mov eax, dword [ebp - 4]
add eax, 0x2a8
mov edx, 3
call fcn.00407478
jmp 0x536d90
inc dword [ebp - 0x30]
cmp byte [ebp - 0x45], 0
je 0x536d90
mov eax, dword [ebp - 4]
push dword [eax + 0x2a0]
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
call fcn.004072c8
push dword [ebp - 0x7c]
push 0x537200
mov eax, dword [ebp - 4]
add eax, 0x2a0
mov edx, 3
call fcn.00407478
jmp 0x536d90
cmp byte [ebp - 0x45], 0
je 0x536d90
mov eax, dword [ebp - 4]
push dword [eax + 0x2a4]
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
call fcn.004072c8
push dword [ebp - 0x80]
push 0x537200
mov eax, dword [ebp - 4]
add eax, 0x2a4
mov edx, 3
call fcn.00407478
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x536afd
cmp byte [ebp - 0x45], 0
je 0x536fa4
push 0x537210
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x30]
call fcn.0041d074
push dword [ebp - 0x88]
push 0x537234
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
call fcn.0041d074
push dword [ebp - 0x8c]
push 0x537258
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x4c]
call fcn.0041d074
push dword [ebp - 0x90]
push 0x537280
mov eax, dword [0x59ec88]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
call fcn.00556ed0
lea edx, [ebp - 0x94]
call fcn.0041d074
push dword [ebp - 0x94]
lea eax, [ebp - 0x84]
mov edx, 8
call fcn.00407478
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push 0x53729c
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0xc]
call fcn.00524580
push dword [ebp - 0x9c]
push 0x5372e0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0xa0]
mov al, byte [0x537300]
call fcn.0042afd0
push dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
mov edx, 4
call fcn.00407478
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x150]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push 0x537310
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.00524580
push dword [ebp - 0xa8]
push 0x537358
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea edx, [ebp - 0xac]
mov al, byte [0x537300]
call fcn.0042afd0
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00407478
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x536fa4
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2a0]
mov edx, 0x537390
call fcn.004073f0
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2a4]
mov edx, 0x5373b8
call fcn.004073f0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2a8]
mov edx, 0x5373dc
call fcn.004073f0
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp dword [eax + 0x1c], 2
jne 0x536fcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00525580
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
call fcn.00525580
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x28], 0
jne 0x537065
mov eax, dword [0x59ec88]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0
je 0x537048
cmp dword [ebp - 0x40], 0
je 0x53702c
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0x9c], 0
je 0x53702c
mov eax, dword [ebp - 0x40]
fld qword [eax + 0xc8]
fmul dword [0x5371f0]
call fcn.00404b5c
push edx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [0x59ec88]
mov eax, dword [eax]
mov dl, 1
call fcn.00552500
jmp 0x537065
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [0x59ec88]
mov eax, dword [eax]
xor edx, edx
call fcn.00552500
jmp 0x537065
mov eax, dword [0x59ec88]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x8c], edx
mov eax, dword [0x59ec88]
mov eax, dword [eax]
mov byte [eax + 0x90], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00525ca0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
call fcn.00525ca0
cmp dword [ebp - 0x40], 0
je 0x537137
mov eax, dword [0x59e944]
mov eax, dword [eax]
mov edx, dword [ebp - 0x40]
call fcn.005432c0
test al, al
je 0x5370d0
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
jne 0x5370b7
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x5370d0
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x28], 0
je 0x5370d4
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0x9c], 0
jne 0x5370d4
xor eax, eax
jmp 0x5370d6
mov al, 1
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
je 0x5370e5
mov byte [ebp - 0x32], 1
jmp 0x537123
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x53711a
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0xdc], 0
je 0x53711a
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
jne 0x53711e
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
jne 0x53711e
xor eax, eax
jmp 0x537120
mov al, 1
mov byte [ebp - 0x31], al
mov cl, byte [ebp - 0x32]
mov dl, byte [ebp - 0x31]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00524a70
call fcn.00562be0
test eax, eax
je 0x5371bf
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x5371a3
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xdc], 0
je 0x5371a3
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
jne 0x537171
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x5371a3
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xbc], 0
jne 0x537188
cmp dword [eax + 0xb8], 0
jbe 0x5371a3
jmp 0x53718a
jle 0x5371a3
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xc4], 0
jne 0x5371a1
cmp dword [eax + 0xc0], 0
ja 0x5371a7
jmp 0x5371a3
jg 0x5371a7
xor eax, eax
jmp 0x5371a9
mov al, 1
mov byte [ebp - 0x31], al
xor ecx, ecx
mov dl, byte [ebp - 0x31]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x17c]
call fcn.00524a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5371ec
lea eax, [ebp - 0xb8]
mov edx, 0x11
call fcn.0040660c
lea eax, [ebp - 0x74]
call fcn.004065d0
ret