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

Disassembly:
push 0xffffffffffffffff
push 0x46592b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
push edi
push 0
lea ebx, [esi + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 0x4675c8
mov dword [esp + 0x5c], 0x4675c0
call fcn.00447cf0
mov al, byte [esp + 0x23]
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0xcc], 0
mov byte [esp + 0x40], al
call fcn.0040b5a4
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 1
call fcn.00447ce0
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 2
call fcn.00447d20
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x38]
mov byte [esp + 0xc8], 4
test edx, edx
je 0x44a008
test ebx, ebx
je 0x449ff4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x449ff6
xor ecx, ecx
lea eax, [esp + 0x23]
push 1
push eax
push ecx
push ebx
lea ecx, [esp + 0x48]
call fcn.00426183
mov ecx, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x38]
mov eax, dword [esp + edx + 0x38]
push eax
call ebp
mov eax, dword [esi + 0x138]
mov ebx, 5
cmp eax, 2
mov dword [esp + 0xc8], ebx
jl 0x44a1b0
mov ax, word [esi + 0x13c]
xor esi, esi
cmp ax, si
je 0x44a1b0
and eax, 0xffff
xor ecx, ecx
push eax
lea edx, [esp + 0x18]
mov dword [esp + 0x19], ecx
push 0x47d414
push edx
mov byte [esp + 0x20], 0
mov byte [esp + 0x25], cl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0x4675c8
mov dword [esp + 0x84], 0x4675c0
push esi
call fcn.00447cf0
lea eax, [esp + 0x37]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0xcc], 6
call fcn.00447aa0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
push esi
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 8
call fcn.00447d20
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x64]
mov byte [esp + 0xc8], 0xa
test edx, edx
je 0x44a114
lea eax, [esp + 0x14]
test eax, eax
je 0x44a0fc
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x44a0fe
xor ecx, ecx
lea edx, [esp + 0x2f]
push 1
push edx
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00426183
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x64]
mov eax, dword [esp + edx + 0x64]
push eax
call ebp
mov edx, dword [0x4675b8]
lea eax, [esp + 0x64]
neg eax
sbb eax, eax
lea ecx, [esp + 0x68]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xd4], 0xb
call fcn.0040bea4
lea eax, [esp + 0x64]
lea ecx, [esp + 0x84]
neg eax
sbb eax, eax
mov byte [esp + 0xc8], bl
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x64]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x78]
and ecx, eax
call fcn.00405562
lea ecx, [esp + 0x64]
lea edx, [esp + 0x68]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.0040b5a4
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x64]
lea eax, [esp + ecx + 0x64]
push edx
call ebp
sub esp, 0x28
mov esi, esp
mov dword [esp + 0x44], esp
push 0
mov ecx, esi
lea edi, [esi + 0x20]
mov dword [esp + 0x48], esi
mov dword [esi], 0x4675c8
mov dword [edi], 0x4675c0
call fcn.00447cf0
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
neg eax
sbb eax, eax
mov byte [esp + 0xf0], 0xc
and eax, ecx
lea ecx, [esi + 4]
push eax
call fcn.00451d60
lea ecx, [esi + 0x14]
mov byte [esp + 0xf0], 0xd
call fcn.00447ce0
push 0
mov ecx, edi
mov byte [esp + 0xf4], 0xe
call fcn.00447d20
mov ecx, dword [esp + 0xf8]
mov byte [esp + 0xf0], bl
call fcn.0044b250
mov esi, eax
test esi, esi
jne 0x44a293
lea eax, [esp + 0x38]
lea edx, [esp + 0x58]
neg eax
sbb eax, eax
mov dword [esp + 0xc8], 0xffffffff
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x4c]
neg ecx
sbb ecx, ecx
mov dword [esi], eax
and ecx, edx
call fcn.00405562
lea ecx, [esp + 0x38]
lea eax, [esp + 0x3c]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.0040b5a4
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x38]
push eax
call ebp
xor eax, eax
jmp 0x44a9bb
mov ebx, dword [esp + 0xd4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebx]
lea eax, [ebx + 0xd0]
mov dword [esi], ecx
mov edx, dword [ebx + 0xcc]
lea ecx, [esi + 0xd0]
push eax
push ecx
mov dword [esi + 0xcc], edx
call edi
mov edx, dword [esp + 0x28]
lea eax, [esi + 4]
push edx
push eax
call edi
lea ecx, [ebx + 0x68]
lea edx, [esi + 0x68]
push ecx
push edx
call edi
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x90]
mov dword [esi + 0x134], eax
mov cx, word [ebx + 0x13c]
xor eax, eax
mov word [esi + 0x13c], cx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [ebx]
push edx
push eax
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 8
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [esp + 0x98]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x140], ecx
mov edx, dword [esp + 0x9c]
push 6
mov eax, ecx
push 0x186a0
push eax
mov dword [esi + 0x144], edx
call ebp
mov ecx, dword [esi + 0x144]
push 0xd
push 0x186a0
push ecx
mov dword [esi + 0x150], eax
call ebp
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x44a3bf
lea edi, [esi + 0x158]
test edi, edi
je 0x44a38a
lea ecx, [esi + 0x15c]
jmp 0x44a38c
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a3bf
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x44], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.004509d0
jmp 0x44a3c5
lea eax, [esi + 0x194]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
call fcn.00452fb0
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x44a422
lea edi, [esi + 0x158]
test edi, edi
je 0x44a3ed
lea ecx, [esi + 0x15c]
jmp 0x44a3ef
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a422
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x44], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.004509d0
jmp 0x44a428
lea eax, [esi + 0x194]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x44a505
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebx]
mov edx, dword [ecx]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
push edx
lea edi, [ecx + 0xc]
call fcn.0045b460
mov ecx, dword [edi + 4]
add esp, 4
mov edx, dword [ecx + 0x3c]
mov ecx, dword [edx]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x38]
test ch, 2
je 0x44a477
mov eax, 0x4000
jmp 0x44a486
mov ecx, dword [esi + 0x140]
mov edx, dword [eax + 0x2c]
push 4
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x38]
test ch, 1
je 0x44a4ac
mov eax, 0x4000
jmp 0x44a4bb
mov ecx, dword [esi + 0x144]
mov edx, dword [eax + 0x30]
push 8
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx + 4]
mov dword [edx + 0x3c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [esi + 0x150]
mov eax, dword [edx + 4]
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x3c]
mov eax, dword [esi + 0x154]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x10]
mov dword [edx + 0x44], eax
call fcn.00453090
jmp 0x44a3d1
mov edx, dword [ebx]
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0
push 0x47d40c
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x148], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esi + 0x148]
push eax
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x190]
test eax, eax
jne 0x44a5b4
lea edi, [esi + 0x158]
test edi, edi
je 0x44a57f
lea ecx, [esi + 0x15c]
jmp 0x44a581
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a5b4
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.00450850
jmp 0x44a5ba
lea eax, [esi + 0x184]
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x190]
test eax, eax
jne 0x44a61a
lea edi, [esi + 0x158]
test edi, edi
je 0x44a5e5
lea ecx, [esi + 0x15c]
jmp 0x44a5e7
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a61a
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.00450850
jmp 0x44a620
lea eax, [esi + 0x184]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x44a6c9
mov eax, dword [ecx + 0x10]
mov edx, dword [esi + 0x140]
push 4
push edx
mov ecx, dword [eax + 8]
push ecx
call ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x144]
push 8
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [ecx + 0xc]
push edx
call ebp
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x140]
push 4
mov edx, dword [ecx + 0x10]
push eax
mov eax, dword [edx + 0x10]
push eax
call ebp
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x144]
push 8
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x24]
mov dword [esp + 0xac], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0xa0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x148]
push ecx
push edx
push eax
call ebx
lea ecx, [esp + 0x24]
call fcn.00452e70
jmp 0x44a5c9
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x44a71a
lea edi, [esi + 0x158]
test edi, edi
je 0x44a6e5
lea ecx, [esi + 0x15c]
jmp 0x44a6e7
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a71a
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.004509d0
jmp 0x44a720
lea eax, [esi + 0x194]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x44a77a
lea edi, [esi + 0x158]
test edi, edi
je 0x44a745
lea ecx, [esi + 0x15c]
jmp 0x44a747
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a77a
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.004509d0
jmp 0x44a780
lea eax, [esi + 0x194]
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x44a7b5
mov eax, dword [ecx + 0x10]
mov edx, dword [esi + 0x148]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.0045a1d0
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.00453090
jmp 0x44a729
mov ebx, dword [esp + 0xd4]
push esi
mov ecx, dword [ebx]
push ecx
mov ecx, dword [esp + 0xd8]
call fcn.0044fda0
mov eax, dword [esi + 0x1b0]
test eax, eax
jne 0x44a81d
lea edi, [esi + 0x158]
test edi, edi
je 0x44a7e8
lea ecx, [esi + 0x15c]
jmp 0x44a7ea
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a81d
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.00450b50
jmp 0x44a823
lea eax, [esi + 0x1a4]
mov edx, dword [eax + 4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1b0]
test eax, eax
jne 0x44a883
lea edi, [esi + 0x158]
test edi, edi
je 0x44a84e
lea ecx, [esi + 0x15c]
jmp 0x44a850
xor ecx, ecx
push 0x4773e4
call fcn.004590a0
test eax, eax
je 0x44a883
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edi
call fcn.0040b297
mov ecx, dword [esi + 0x14c]
call fcn.0044b470
mov ecx, eax
call fcn.00450b50
jmp 0x44a889
lea eax, [esi + 0x1a4]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x44a8da
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x44a8cc
cmp dword [eax], 0
je 0x44a8cc
mov ecx, dword [eax + 0x14]
mov edx, dword [ebx]
push ecx
push edx
call ebp
test eax, eax
je 0x44a8cc
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x148]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
lea ecx, [esp + 0x30]
call fcn.004531b0
jmp 0x44a832
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebx]
push esi
push 0x47d400
push ecx
call dword [sym.imp.USER32.dll_SetPropA]
mov edx, dword [ebx]
push 0x44f6a0
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor ebp, ebp
mov dword [esi + 0x134], eax
mov eax, dword [ebx]
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [esp + 0x38]
lea edx, [esp + 0x58]
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x38]
neg esi
sbb esi, esi
lea edx, [esp + 0x4c]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.0043abc6
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push ecx
call edi
lea esi, [esp + 0x38]
lea edx, [esp + 0x3c]
neg esi
sbb esi, esi
and esi, edx
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x44a99b
mov cl, byte [eax - 1]
test cl, cl
je 0x44a995
cmp cl, 0xff
je 0x44a995
dec cl
mov byte [eax - 1], cl
jmp 0x44a99b
add eax, 0xfffffffe
push eax
call edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret