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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c]
test eax, eax
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], eax
je 0x45382a
mov eax, dword [0x59b698]
mov edi, dword [0x59b694]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, edi
je 0x45381c
mov dword [esp + 0x68], 0
jmp 0x453821
call fcn.004975e0
call fcn.00425f10
fstp qword [esp + 0x70]
cmp byte [esi + 0x22c], 0
je 0x453859
cmp byte [esi + 0x213], 0
mov byte [esi + 0x22c], 1
jne 0x453862
mov eax, dword [esi + 0x244]
test eax, eax
je 0x453859
mov byte [eax + 0x22c], 1
call fcn.00456290
cmp byte [esi + 0x213], 0
je 0x453868
push esi
call fcn.00452670
mov cl, byte [esi + 0x20c]
or byte [ebp + 0x18], cl
cmp dword [esi + 0x248], 0
jne 0x45387e
mov byte [ebp + 0x18], 1
test byte [esi + 0x212], 2
mov ebx, dword [ebp + 8]
je 0x4538a2
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push eax
push ecx
push ebx
mov ecx, esi
call edx
mov edi, eax
test edi, edi
jne 0x4538d3
mov al, byte [esi + 8]
or byte [ebp + 0x14], al
je 0x453abd
test byte [esi + 0x212], 1
je 0x453901
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push eax
push ecx
push ebx
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x453abd
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4538f6
call fcn.00425f10
fsub qword [esp + 0x70]
sub esp, 8
mov eax, 1
mov ecx, esi
fstp qword [esp]
call fcn.00497900
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x18], 0
jne 0x4539e5
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x30]
jge 0x4539e5
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x34]
jge 0x4539e5
mov ecx, dword [ebx + 4]
test cl, 1
jne 0x4539e5
shr ecx, 1
mov edx, ecx
shl edx, 4
cmp edx, 0x100000
mov eax, ecx
jae 0x45396d
lea edx, [ecx - 1]
test ecx, edx
jne 0x453977
test ecx, ecx
je 0x453966
lea eax, [ecx + ecx]
jmp 0x453977
mov eax, 1
jmp 0x453977
and eax, 0x7ffffc00
add eax, 0x400
cmp eax, ecx
jbe 0x4539a7
test eax, eax
je 0x453992
shl eax, 4
push eax
mov eax, dword [ebx]
push eax
call fcn.0044d0b0
add esp, 8
mov dword [ebx], eax
jmp 0x4539a7
mov eax, dword [ebx]
test eax, eax
je 0x4539a7
push eax
call fcn.0044d390
add esp, 4
mov dword [ebx], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x4539e5
mov eax, dword [ebx + 4]
shr eax, 1
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [ebx + 4], ecx
mov edx, dword [esi + 0x178]
cmp edx, dword [esi + 0x180]
jge 0x453abd
mov eax, dword [esi + 0x17c]
cmp eax, dword [esi + 0x184]
jge 0x453abd
mov ecx, dword [ebx + 4]
test cl, 1
jne 0x453abd
shr ecx, 1
mov edx, ecx
shl edx, 4
cmp edx, 0x100000
mov eax, ecx
jae 0x453a3d
lea edx, [ecx - 1]
test ecx, edx
jne 0x453a47
test ecx, ecx
je 0x453a36
lea eax, [ecx + ecx]
jmp 0x453a47
mov eax, 1
jmp 0x453a47
and eax, 0x7ffffc00
add eax, 0x400
cmp eax, ecx
jbe 0x453a77
test eax, eax
je 0x453a62
shl eax, 4
push eax
mov eax, dword [ebx]
push eax
call fcn.0044d0b0
add esp, 8
mov dword [ebx], eax
jmp 0x453a77
mov eax, dword [ebx]
test eax, eax
je 0x453a77
push eax
call fcn.0044d390
add esp, 4
mov dword [ebx], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x453abd
mov eax, dword [ebx + 4]
shr eax, 1
shl eax, 4
add eax, ecx
mov ecx, dword [esi + 0x178]
mov dword [eax], ecx
mov edx, dword [esi + 0x17c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x180]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x184]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [ebx + 4], ecx
mov edx, dword [esi + 0x178]
cmp edx, dword [esi + 0x180]
jge 0x453ad9
mov eax, dword [esi + 0x17c]
cmp eax, dword [esi + 0x184]
jl 0x453b22
cmp byte [ebp + 0x18], 0
je 0x453b22
mov cl, byte [esi + 0x20d]
cmp cl, byte [esi + 0x20c]
jne 0x453b22
mov dword [esi + 8], 0
mov esi, dword [esp + 0x68]
test esi, esi
je 0x453b17
call fcn.00425f10
fsub qword [esp + 0x70]
sub esp, 8
mov eax, 1
mov ecx, esi
fstp qword [esp]
call fcn.00497900
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x204], 0
mov edi, dword [ebp + 0xc]
je 0x453c26
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
push 0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add dword [esp + 0x2c], 0x10
sub dword [esp + 0x34], 0x10
add ecx, 0x10
sub eax, 0x10
cmp ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
jge 0x453c26
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x2c], eax
jge 0x453c26
mov ecx, dword [edi + 4]
test cl, 1
jne 0x453c26
shr ecx, 1
mov edx, ecx
shl edx, 4
cmp edx, 0x100000
mov eax, ecx
jae 0x453bac
lea edx, [ecx - 1]
test ecx, edx
jne 0x453bb6
test ecx, ecx
je 0x453ba5
lea eax, [ecx + ecx]
jmp 0x453bb6
mov eax, 1
jmp 0x453bb6
and eax, 0x7ffffc00
add eax, 0x400
cmp eax, ecx
jbe 0x453be6
test eax, eax
je 0x453bd1
shl eax, 4
push eax
mov eax, dword [edi]
push eax
call fcn.0044d0b0
add esp, 8
mov dword [edi], eax
jmp 0x453be6
mov eax, dword [edi]
test eax, eax
je 0x453be6
push eax
call fcn.0044d390
add esp, 4
mov dword [edi], 0
mov ecx, dword [edi]
mov eax, ecx
test eax, eax
je 0x453c26
mov eax, dword [edi + 4]
shr eax, 1
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [edi + 4], ecx
xor eax, eax
test dword [esi + 0x19c], 0xfffffffe
mov dword [esp + 0x24], eax
jbe 0x453c8b
mov edx, dword [esi + 0x198]
mov edi, dword [edx + eax*4]
cmp dword [edi + 0x1b0], 0
je 0x453c50
push edi
call fcn.00453690
mov al, byte [edi + 0x20c]
test al, al
je 0x453c62
cmp byte [edi + 0x20d], al
je 0x453c74
mov eax, dword [esi + 0x198]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx*4]
call fcn.00453560
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x19c]
add eax, 1
shr edx, 1
cmp eax, edx
mov dword [esp + 0x24], eax
jb 0x453c38
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 8]
shr ebx, 1
test dword [esi + 0x19c], 0xfffffffe
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0
jbe 0x453df5
cmp byte [ebp + 0x18], 0
fld1
mov ecx, dword [esp + 0x3c]
fldz
mov edx, dword [ecx + 0x198]
mov eax, dword [esp + 0x24]
mov ebx, dword [edx + eax*4]
jne 0x453ce5
cmp byte [ebx + 0x20c], 0
jne 0x453ce5
fstp st(0)
push ebx
fstp st(0)
call fcn.00452670
fld1
fldz
cmp byte [ebx + 0x217], 0
je 0x453d5a
mov edx, dword [ebx]
fstp st(0)
mov eax, dword [edx + 0x5c]
fstp st(0)
mov ecx, ebx
call eax
test al, al
je 0x453d6d
fld1
fldz
cmp byte [ebx + 0x217], 0
je 0x453e1b
mov edx, dword [ebx]
fstp st(0)
mov eax, dword [edx + 0x5c]
fstp st(0)
mov ecx, ebx
call eax
fld1
test al, al
fldz
jne 0x453e2e
fxch st(1)
mov byte [esp + 0x64], 1
fst dword [esp + 0x40]
lea esi, [esp + 0x40]
fst dword [esp + 0x50]
fstp dword [esp + 0x60]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
jmp 0x453d70
cmp byte [ebx + 0x55], 0
jne 0x453d03
cmp byte [ebx + 0xed], 0
jne 0x453d03
fstp st(0)
fstp st(0)
mov esi, dword [ebp + 0x10]
mov ecx, 0xa
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
test byte [ebx + 8], 1
je 0x453d8a
push ebx
call fcn.00452670
lea esi, [ebx + 0x1dc]
mov ecx, 0xa
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
lea eax, [esp + 0xb0]
call fcn.00495f80
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb8]
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov ecx, ebx
call edx
or dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 0x19c]
add eax, 1
shr edx, 1
cmp eax, edx
mov dword [esp + 0x24], eax
jb 0x453cb3
mov ebx, dword [esp + 0x3c]
cmp dword [ebx + 0x25c], 0
je 0x453f1e
test dword [esp + 0x38], 0xfffffff6
jne 0x453f1e
xor al, al
jmp 0x453f20
cmp byte [ebx + 0x55], 0
jne 0x453e2e
cmp byte [ebx + 0xed], 0
je 0x453d29
cmp byte [ebx + 0x213], 0
jne 0x453d29
mov esi, dword [ebx + 0x244]
test esi, esi
je 0x453d29
mov edx, dword [esi]
fxch st(1)
mov edx, dword [edx + 0x20]
fst dword [esp + 0x88]
fst dword [esp + 0x98]
lea eax, [esp + 0x88]
fstp dword [esp + 0xa8]
push eax
lea ecx, [esp + 0x7c]
fst dword [esp + 0x90]
push ecx
fst dword [esp + 0x98]
mov ecx, esi
fst dword [esp + 0x9c]
mov byte [esp + 0xb4], 1
fst dword [esp + 0xa4]
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
call edx
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x80]
jge 0x453ef8
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0x84]
jge 0x453ef8
fld1
mov byte [esp + 0x64], 1
fst dword [esp + 0x40]
lea esi, [esp + 0x40]
fldz
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
fst dword [esp + 0x50]
fstp dword [esp + 0x60]
jmp 0x453d70
test byte [esi + 8], 1
je 0x453f04
push esi
call fcn.00452670
add esi, 0x1dc
mov ecx, 0xa
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x40]
jmp 0x453d70
mov al, 1
cmp byte [ebx + 0x20f], 0
mov byte [ebx + 0x261], al
je 0x453fbe
mov eax, dword [ebp + 0x10]
lea edx, [ebx + 0x188]
push eax
lea ecx, [esp + 0x7c]
call fcn.004964d0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x28]
shr ecx, 1
cmp edx, ecx
mov edi, edx
jae 0x453fc5
shl edx, 4
jmp 0x453f60
mov eax, dword [esi]
mov ebx, dword [esp + 0x78]
mov ecx, dword [eax + edx]
add eax, edx
cmp ecx, ebx
jge 0x453f71
mov ecx, ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jge 0x453f80
mov ecx, ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
cmp ecx, ebx
jle 0x453f93
mov ecx, ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jle 0x453fa6
mov ecx, ebx
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 4]
add edi, 1
shr eax, 1
add edx, 0x10
cmp edi, eax
jb 0x453f60
mov ebx, dword [esp + 0x3c]
jmp 0x453fc1
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x28]
cmp byte [ebp + 0x18], 0
jne 0x453fd6
mov eax, dword [ebx]
push edx
mov edx, dword [eax + 0x1c]
push esi
mov ecx, ebx
call edx
mov esi, dword [esp + 0x68]
test esi, esi
je 0x453ff9
call fcn.00425f10
fsub qword [esp + 0x70]
sub esp, 8
mov eax, 1
mov ecx, esi
fstp qword [esp]
call fcn.00497900
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14