Function at 0x437f60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47688d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x490040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
cmp dword [esi], 0
jne 0x43890d
mov eax, 0xf991
mov dword [ebp - 0x44], 0x91483bd2
mov word [ebp - 0x30], ax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0x458bf9f4
mov dword [ebp - 0x3c], 0x77291b76
mov ecx, dword [eax]
mov eax, dword [0x49a198]
mov dword [ebp - 0x38], 0xadc959
mov dword [ebp - 0x34], 0x91573beb
mov dword [ebp - 0x64], ecx
cmp eax, dword [ecx + 4]
jle 0x438046
push 0x49a198
call fcn.00452992
add esp, 4
cmp dword [0x49a198], 0xffffffff
jne 0x438046
xorps xmm0, xmm0
mov byte [0x499fba], 1
movlpd qword [ebp - 0x70], xmm0
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
nop dword [eax + eax]
mov ax, word [ebp + ecx*2 - 0x44]
mov word [ecx*2 + 0x499fa4], ax
add ecx, 1
adc edx, 0
test edx, edx
jne 0x43802c
cmp ecx, 0xb
jb 0x438010
push 0x47c960
call fcn.00452c62
add esp, 4
push 0x49a198
call fcn.00452941
add esp, 4
mov ecx, 0x499fa4
call fcn.00439270
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call ebx
mov ecx, dword [ebp - 0x64]
mov edi, eax
mov eax, 0xf991
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x30], ax
mov eax, dword [0x49a178]
mov dword [ebp - 0x44], 0x91533bd4
mov dword [ebp - 0x40], 0x4596f9f2
mov dword [ebp - 0x3c], 0x777e1b37
mov dword [ebp - 0x38], 0xadc959
mov dword [ebp - 0x34], 0x91573beb
cmp eax, dword [ecx + 4]
jle 0x438106
push 0x49a178
call fcn.00452992
add esp, 4
cmp dword [0x49a178], 0xffffffff
jne 0x438106
xorps xmm0, xmm0
mov byte [0x499eb2], 1
movlpd qword [ebp - 0x70], xmm0
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
nop word [eax + eax]
mov ax, word [ebp + ecx*2 - 0x44]
mov word [ecx*2 + 0x499e9c], ax
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4380ec
cmp ecx, 0xb
jb 0x4380d0
push 0x47c930
call fcn.00452c62
add esp, 4
push 0x49a178
call fcn.00452941
add esp, 4
mov ecx, 0x499e9c
call fcn.00439270
push eax
call ebx
cmp dword [esi], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
jne 0x438414
test eax, eax
je 0x438358
mov ecx, dword [ebp - 0x64]
movaps xmm0, xmmword [0x487c20]
mov eax, dword [0x499f28]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x4f528a69
mov word [ebp - 0x30], 0xd6f8
mov byte [ebp - 0x2e], 0xb0
cmp eax, dword [ecx + 4]
jle 0x4381c3
push 0x499f28
call fcn.00452992
add esp, 4
cmp dword [0x499f28], 0xffffffff
jne 0x4381c3
xorps xmm0, xmm0
mov byte [0x49a037], 1
movlpd qword [ebp - 0x78], xmm0
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x44]
mov byte [ecx + 0x49a020], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4381a9
cmp ecx, 0x17
jb 0x438190
push 0x47c900
call fcn.00452c62
add esp, 4
push 0x499f28
call fcn.00452941
add esp, 4
mov ecx, 0x49a020
call fcn.00416050
push 0x49a020
push dword [ebp - 0x7c]
call ebx
mov edi, eax
test edi, edi
je 0x438355
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x438355
mov eax, dword [ebp - 0x74]
cmp eax, 2
jne 0x438336
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x4382a8
mov ecx, dword [ebp - 0x64]
movaps xmm0, xmmword [0x487450]
mov eax, dword [0x499f80]
movups xmmword [ebp - 0x58], xmm0
cmp eax, dword [ecx + 4]
jle 0x438293
push 0x499f80
call fcn.00452992
add esp, 4
cmp dword [0x499f80], 0xffffffff
jne 0x438293
xorps xmm0, xmm0
mov byte [0x499f14], 1
movlpd qword [ebp - 0x68], xmm0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x58]
mov byte [ecx + 0x499f04], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x438279
cmp ecx, 0x10
jb 0x438260
push 0x47c8d0
call fcn.00452c62
add esp, 4
push 0x499f80
call fcn.00452941
add esp, 4
mov ecx, 0x499f04
call fcn.0040b6a0
push 0x499f04
push edi
call ebx
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0
je 0x4382ba
mov eax, 3
mov dword [esi], eax
jmp 0x438358
call fcn.00438970
mov dword [ebp - 0x64], eax
cmp byte [eax + 0xa3], 0
je 0x438322
xorps xmm0, xmm0
mov esi, eax
movlpd qword [ebp - 0x50], xmm0
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
nop dword [eax + eax]
mov ecx, edi
mov eax, 0x2a3cef1b
and ecx, 7
mov edx, 0x2b0a58b
shl ecx, 3
call fcn.004741f0
xor byte [esi + edi], al
add edi, 1
adc ebx, 0
test ebx, ebx
jne 0x43830c
cmp edi, 0xa3
jb 0x4382e0
mov eax, dword [ebp - 0x64]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x5c]
mov byte [esi + 0xa3], 0
mov esi, dword [ebp - 0x80]
push eax
push 1
call fcn.00401610
mov eax, 2
add esp, 8
mov dword [esi], eax
jmp 0x438358
cmp eax, 1
jne 0x438346
mov dword [esi], 2
jmp 0x438414
test eax, eax
jne 0x438355
mov dword [esi], 1
jmp 0x438414
mov edi, dword [ebp - 0x5c]
cmp dword [esi], 0
jne 0x438414
test edi, edi
je 0x438414
mov ecx, dword [ebp - 0x48]
movaps xmm0, xmmword [0x488710]
mov eax, dword [0x49a08c]
movups xmmword [ebp - 0x40], xmm0
mov ecx, dword [ecx]
mov word [ebp - 0x30], 0xef7e
cmp eax, dword [ecx + 4]
jle 0x4383f3
push 0x49a08c
call fcn.00452992
add esp, 4
cmp dword [0x49a08c], 0xffffffff
jne 0x4383f3
xorps xmm0, xmm0
mov byte [0x49a01e], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x40]
mov byte [ecx + 0x49a00c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4383d9
cmp ecx, 0x12
jb 0x4383c0
push 0x47c870
call fcn.00452c62
add esp, 4
push 0x49a08c
call fcn.00452941
add esp, 4
mov ecx, 0x49a00c
call fcn.0040bf10
push 0x49a00c
push edi
call ebx
test eax, eax
je 0x438414
call eax
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [esi], eax
mov edi, dword [ebp - 0x7c]
test edi, edi
je 0x438554
mov eax, dword [ebp - 0x48]
movaps xmm0, xmmword [0x4887c0]
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0x1b
mov ecx, dword [eax]
mov eax, dword [0x49a170]
cmp eax, dword [ecx + 4]
jle 0x4384a3
push 0x49a170
call fcn.00452992
add esp, 4
cmp dword [0x49a170], 0xffffffff
jne 0x4384a3
xorps xmm0, xmm0
mov byte [0x49a1ad], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x40]
mov byte [ecx + 0x49a19c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x438489
cmp ecx, 0x11
jb 0x438470
push 0x47c840
call fcn.00452c62
add esp, 4
push 0x49a170
call fcn.00452941
add esp, 4
mov ecx, 0x49a19c
call fcn.0041d340
push eax
push edi
call ebx
movaps xmm0, xmmword [0x4884c0]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x4453a269
mov dword [ebp - 0x18], 0x70dfd1e2
mov ecx, dword [eax]
mov eax, dword [0x49a008]
mov byte [ebp - 0x14], 0x1b
cmp eax, dword [ecx + 4]
jle 0x438543
push 0x49a008
call fcn.00452992
add esp, 4
cmp dword [0x49a008], 0xffffffff
jne 0x438543
xorps xmm0, xmm0
mov byte [0x499ecd], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop
mov al, byte [ebp + ecx - 0x2c]
mov byte [ecx + 0x499eb4], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x438529
cmp ecx, 0x19
jb 0x438510
push 0x47c810
call fcn.00452c62
add esp, 4
push 0x49a008
call fcn.00452941
add esp, 4
mov ecx, 0x499eb4
call fcn.0041d1b0
push eax
push edi
call ebx
mov dword [esi + 0x14], eax
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x438804
mov eax, dword [ebp - 0x48]
movaps xmm0, xmmword [0x4888d0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x6e4e805d
mov ecx, dword [eax]
mov eax, dword [0x49a084]
mov word [ebp - 0x30], 0xccfb
mov byte [ebp - 0x2e], 0xb0
cmp eax, dword [ecx + 4]
jle 0x4385f3
push 0x49a084
call fcn.00452992
add esp, 4
cmp dword [0x49a084], 0xffffffff
jne 0x4385f3
xorps xmm0, xmm0
mov byte [0x499f7f], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x44]
mov byte [ecx + 0x499f68], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4385d9
cmp ecx, 0x17
jb 0x4385c0
push 0x47c7e0
call fcn.00452c62
add esp, 4
push 0x49a084
call fcn.00452941
add esp, 4
mov ecx, 0x499f68
call fcn.00416050
push 0x499f68
push edi
call ebx
movaps xmm0, xmmword [0x488870]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x455a8152
mov dword [ebp - 0x18], 0x46c2cacd
mov ecx, dword [eax]
mov eax, dword [0x499f30]
mov word [ebp - 0x14], 0x866b
mov byte [ebp - 0x12], 0x3c
cmp eax, dword [ecx + 4]
jle 0x4386a3
push 0x499f30
call fcn.00452992
add esp, 4
cmp dword [0x499f30], 0xffffffff
jne 0x4386a3
xorps xmm0, xmm0
mov byte [0x499ef3], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x2c]
mov byte [ecx + 0x499ed8], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x438689
cmp ecx, 0x1b
jb 0x438670
push 0x47c7b0
call fcn.00452c62
add esp, 4
push 0x499f30
call fcn.00452941
add esp, 4
mov ecx, 0x499ed8
call fcn.0041d460
push eax
push edi
call ebx
movaps xmm0, xmmword [0x488ab0]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x457a975e
mov dword [ebp - 0x18], 0x6bc0e1f9
mov ecx, dword [eax]
mov eax, dword [0x499f2c]
mov byte [ebp - 0x14], 0x1b
cmp eax, dword [ecx + 4]
jle 0x438743
push 0x499f2c
call fcn.00452992
add esp, 4
cmp dword [0x499f2c], 0xffffffff
jne 0x438743
xorps xmm0, xmm0
mov byte [0x49a195], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop
mov al, byte [ebp + ecx - 0x2c]
mov byte [ecx + 0x49a17c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x438729
cmp ecx, 0x19
jb 0x438710
push 0x47c780
call fcn.00452c62
add esp, 4
push 0x499f2c
call fcn.00452941
add esp, 4
mov ecx, 0x49a17c
call fcn.0041d1b0
push eax
push edi
call ebx
movaps xmm0, xmmword [0x4882c0]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x48]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x4f7e8a7c
mov dword [ebp - 0x18], 0x6bc6c4e3
mov ecx, dword [eax]
mov eax, dword [0x499f38]
mov word [ebp - 0x14], 0x9d74
mov byte [ebp - 0x12], 0x3c
cmp eax, dword [ecx + 4]
jle 0x4387f3
push 0x499f38
call fcn.00452992
add esp, 4
cmp dword [0x499f38], 0xffffffff
jne 0x4387f3
xorps xmm0, xmm0
mov byte [0x499f67], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x2c]
mov byte [ecx + 0x499f4c], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4387d9
cmp ecx, 0x1b
jb 0x4387c0
push 0x47c750
call fcn.00452c62
add esp, 4
push 0x499f38
call fcn.00452941
add esp, 4
mov ecx, 0x499f4c
call fcn.0041d460
push eax
push edi
call ebx
mov dword [esi + 0x24], eax
cmp dword [esi], 0
jne 0x43880f
mov dword [esi], 1
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00438aa0
mov edi, eax
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
jbe 0x43882b
mov edi, dword [edi]
mov eax, dword [ebp - 0x48]
movaps xmm0, xmmword [0x4888b0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xa068b7e
mov ecx, dword [eax]
mov eax, dword [0x49a134]
mov word [ebp - 0x30], 0xd6ae
mov byte [ebp - 0x2e], 0xb0
cmp eax, dword [ecx + 4]
jle 0x4388c3
push 0x49a134
call fcn.00452992
add esp, 4
cmp dword [0x49a134], 0xffffffff
jne 0x4388c3
xorps xmm0, xmm0
mov byte [0x499f9b], 1
movlpd qword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x44]
mov byte [ecx + 0x499f84], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x4388a9
cmp ecx, 0x17
jb 0x438890
push 0x47c720
call fcn.00452c62
add esp, 4
push 0x49a134
call fcn.00452941
add esp, 4
mov ecx, 0x499f84
call fcn.00416050
push edi
push 0x499f84
push 3
call fcn.00401610
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x43890d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x438903
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438961
push ecx
push edx
call fcn.00452c7c
add esp, 8
push 0
mov edi, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x438934
push 0x58
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ebx
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x60
push 0x64
push edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452933
mov esp, ebp
pop ebp
ret
call fcn.004579bf
int3