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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480deb
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00439080
push 0x498200
call fcn.00421450
mov edi, eax
call fcn.00421970
mov edx, dword [esi + 0x2f8]
mov ecx, dword [esi + 0x2dc]
add esp, 4
push 0x814
push esi
call fcn.004301c0
mov edx, dword [esi + 0x2fc]
mov ecx, dword [esi + 0x2e0]
push 0x816
push esi
call fcn.004301c0
mov edx, dword [esi + 0x304]
mov ecx, dword [esi + 0x2ec]
push 0x82c
push esi
call fcn.004301c0
mov edx, dword [esi + 0x308]
mov ecx, dword [esi + 0x2f0]
push 0x82d
push esi
call fcn.004301c0
mov edx, dword [esi + 0x30c]
mov ecx, dword [esi + 0x2f4]
push 0x82e
push esi
call fcn.004301c0
mov edx, dword [esi + 0x374]
mov ecx, dword [esi + 0x370]
push 0x812
push esi
call fcn.004301c0
xor edi, edi
push 0x1fe
lea eax, [esp + 0xa2]
push edi
push eax
mov word [esp + 0xa8], di
call fcn.00461780
mov ebx, dword [esi + 0x310]
add esp, 0x3c
test ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
jne 0x437c7b
cmp dword [esi + 0x330], edi
je 0x437d33
mov eax, dword [esi + 0x350]
test eax, eax
mov ecx, 0xc2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], 1
je 0x437c9c
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x330]
test eax, eax
jne 0x437d20
call fcn.00424af0
push str.String_Not_Found
lea ecx, [esp + 0x70]
push 0x100
push ecx
mov edi, eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x437cde
mov ecx, edi
call fcn.00424b50
mov eax, dword [edi]
test eax, eax
je 0x437d10
push 0x100
lea edx, [esp + 0x70]
push edx
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x437d10
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
mov eax, dword [esp + 0x10]
push 0
push eax
push 0
lea ecx, [esp + 0x78]
push ecx
jmp 0x437d26
push 0
push ecx
push 0
push eax
push 0
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x314]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x437d4d
cmp dword [esi + 0x334], eax
je 0x437df5
mov eax, dword [esi + 0x354]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x2c], 1
je 0x437d66
mov edi, eax
mov eax, dword [esi + 0x334]
test eax, eax
jne 0x437de2
call fcn.00424af0
push str.String_Not_Found
lea edx, [esp + 0x70]
push 0x100
push edx
mov ebx, eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x437da8
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x437dde
mov edx, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x437dde
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
lea eax, [esp + 0x6c]
push 0
push edi
push 0
push eax
push 1
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x318]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x437e0f
cmp dword [esi + 0x338], eax
je 0x437ebf
mov eax, dword [esi + 0x358]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x28], 1
je 0x437e28
mov edi, eax
mov eax, dword [esi + 0x338]
test eax, eax
jne 0x437eac
call fcn.00424af0
push str.String_Not_Found
lea ecx, [esp + 0x70]
push 0x100
push ecx
mov ebx, eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x437e6a
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x437ea0
mov ecx, dword [esp + 0x10]
push 0x100
lea edx, [esp + 0x70]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x437ea0
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
push 0
push edi
push 0
lea edx, [esp + 0x78]
push edx
jmp 0x437eb2
push 0
push edi
push 0
push eax
push 2
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x31c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x437ed9
cmp dword [esi + 0x33c], eax
je 0x437f81
mov eax, dword [esi + 0x35c]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x34], 1
je 0x437ef2
mov edi, eax
mov eax, dword [esi + 0x33c]
test eax, eax
jne 0x437f6e
call fcn.00424af0
push str.String_Not_Found
mov ebx, eax
lea eax, [esp + 0x70]
push 0x100
push eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x437f34
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x437f6a
mov edx, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x437f6a
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
lea eax, [esp + 0x6c]
push 0
push edi
push 0
push eax
push 3
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x320]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x437f9b
cmp dword [esi + 0x340], eax
je 0x43804b
mov eax, dword [esi + 0x360]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x20], 1
je 0x437fb4
mov edi, eax
mov eax, dword [esi + 0x340]
test eax, eax
jne 0x438038
call fcn.00424af0
push str.String_Not_Found
lea ecx, [esp + 0x70]
push 0x100
push ecx
mov ebx, eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x437ff6
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x43802c
mov ecx, dword [esp + 0x10]
push 0x100
lea edx, [esp + 0x70]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x43802c
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
push 0
push edi
push 0
lea edx, [esp + 0x78]
push edx
jmp 0x43803e
push 0
push edi
push 0
push eax
push 4
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x324]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x438065
cmp dword [esi + 0x344], eax
je 0x43810d
mov eax, dword [esi + 0x364]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x38], 1
je 0x43807e
mov edi, eax
mov eax, dword [esi + 0x344]
test eax, eax
jne 0x4380fa
call fcn.00424af0
push str.String_Not_Found
mov ebx, eax
lea eax, [esp + 0x70]
push 0x100
push eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x4380c0
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x4380f6
mov edx, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4380f6
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
lea eax, [esp + 0x6c]
push 0
push edi
push 0
push eax
push 5
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x328]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x438127
cmp dword [esi + 0x348], eax
je 0x4381d7
mov eax, dword [esi + 0x368]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x24], 1
je 0x438140
mov edi, eax
mov eax, dword [esi + 0x348]
test eax, eax
jne 0x4381c4
call fcn.00424af0
push str.String_Not_Found
lea ecx, [esp + 0x70]
push 0x100
push ecx
mov ebx, eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x438182
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x4381b8
mov ecx, dword [esp + 0x10]
push 0x100
lea edx, [esp + 0x70]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4381b8
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
push 0
push edi
push 0
lea edx, [esp + 0x78]
push edx
jmp 0x4381ca
push 0
push edi
push 0
push eax
push 6
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov eax, dword [esi + 0x32c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4381f1
cmp dword [esi + 0x34c], eax
je 0x438299
mov eax, dword [esi + 0x36c]
test eax, eax
mov edi, 0xc2
mov dword [esp + 0x14], 1
je 0x43820a
mov edi, eax
mov eax, dword [esi + 0x34c]
test eax, eax
jne 0x438286
call fcn.00424af0
push str.String_Not_Found
mov ebx, eax
lea eax, [esp + 0x70]
push 0x100
push eax
mov word [esp + 0x78], 0
call fcn.0045ea06
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x43824c
mov ecx, ebx
call fcn.00424b50
mov eax, dword [ebx]
test eax, eax
je 0x438282
mov edx, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x438282
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
lea eax, [esp + 0x6c]
push 0
push edi
push 0
push eax
push 7
lea ecx, [esi + 0x45c]
call fcn.00445e2c
mov ecx, dword [esi + 0x448]
mov eax, dword [ecx + 0xc]
xor edi, edi
xor ebx, ebx
cmp eax, edi
jle 0x4383d5
mov eax, dword [esi + 0x448]
cmp ebx, dword [eax + 0xc]
mov ecx, ebx
jge 0x4382cd
cmp ebx, edi
jl 0x4382cd
mov eax, dword [eax + 4]
je 0x4382cf
sub ecx, 1
mov eax, dword [eax]
jne 0x4382c4
jmp 0x4382cf
xor eax, eax
lea edx, [esp + 0x4c]
lea ecx, [eax + 8]
push edx
call fcn.00438530
cmp dword [esp + 0x30], edi
mov dword [esp + 0x280], edi
je 0x438300
mov eax, dword [esp + 0x4c]
push edi
push edi
push edi
push edi
push eax
push ebx
push 1
lea ecx, [esi + 0x45c]
call fcn.00445e7f
cmp dword [esp + 0x2c], edi
je 0x438319
mov ecx, dword [esp + 0x50]
push ecx
push 1
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x28], edi
je 0x438332
mov edx, dword [esp + 0x54]
push edx
push 2
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x34], edi
je 0x43834b
mov eax, dword [esp + 0x58]
push eax
push 3
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x20], edi
je 0x438364
mov ecx, dword [esp + 0x5c]
push ecx
push 4
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x38], edi
je 0x43837d
mov edx, dword [esp + 0x60]
push edx
push 5
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x24], edi
je 0x438396
mov eax, dword [esp + 0x64]
push eax
push 6
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
cmp dword [esp + 0x14], edi
je 0x4383af
mov ecx, dword [esp + 0x68]
push ecx
push 7
push ebx
lea ecx, [esi + 0x45c]
call fcn.00445d26
lea ecx, [esp + 0x4c]
mov dword [esp + 0x280], 0xffffffff
call fcn.00411a20
mov edx, dword [esi + 0x448]
add ebx, 1
cmp ebx, dword [edx + 0xc]
jl 0x4382ae
mov eax, dword [esi + 0x420]
cmp eax, edi
jne 0x4383eb
mov dword [esi + 0x41c], 0x82c
jmp 0x438418
cmp eax, 1
jne 0x4383fc
mov dword [esi + 0x41c], 0x82d
jmp 0x438418
cmp eax, 2
jne 0x43840d
mov dword [esi + 0x41c], 0x82e
jmp 0x438418
cmp eax, 0xffffffff
jne 0x438418
mov dword [esi + 0x41c], eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov dword [esp + 0x18], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
cmp ebx, edi
je 0x438451
push 0x58
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ebx
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x48]
fild dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov eax, edx
sub eax, ebx
mov dword [esi + 0x454], eax
mov eax, dword [esp + 0x14]
sub ecx, edi
test eax, eax
mov dword [esi + 0x450], ecx
jge 0x438485
fadd dword [0x49adf0]
fdiv qword [0x49ade8]
push 1
fnstcw word [esp + 0x14]
fstp dword [esp + 0x18]
movzx eax, word [esp + 0x14]
fld dword [esp + 0x18]
fmul qword [0x49ae00]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, ebx
fldcw word [esp + 0x14]
push edx
push ecx
push ebx
push edi
mov ecx, esi
mov dword [esi + 0x458], edx
call fcn.0044dc0b
push 0x815
mov ecx, esi
call fcn.0044da60
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, eax
mov ecx, dword [esi + 0x20]
push 0x1037
push ecx
call edi
mov edx, dword [esi + 0x20]
or eax, 0x20
push eax
push 0
push 0x1036
push edx
call edi
mov eax, 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0045e88c
mov esp, ebp
pop ebp
ret