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

Disassembly:
sub esp, 0x5a8
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x5a4], eax
mov eax, dword [esp + 0x5b0]
push ebp
mov ebp, ecx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x10], eax
je 0x445185
mov eax, 0x40000
pop ebp
mov ecx, dword [esp + 0x5a4]
xor ecx, esp
call fcn.0046dc02
add esp, 0x5a8
ret 0x10
cmp byte [ebp + 0x2c], 0
je 0x4451a8
mov eax, 0x50000
pop ebp
mov ecx, dword [esp + 0x5a4]
xor ecx, esp
call fcn.0046dc02
add esp, 0x5a8
ret 0x10
cmp dword [ebp], 0
push edi
mov edi, dword [esp + 0x5c0]
mov dword [esp + 0x10], 0
je 0x4451cb
cmp edi, 4
je 0x4451cb
mov dword [esp + 0x10], 0xc
mov eax, dword [esp + 0x5b4]
lea edx, [esp + 0x3a4]
sub edx, eax
jmp 0x4451e0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4451e0
cmp word [esp + 0x3a4], cx
jne 0x445203
mov eax, 0x10000
jmp 0x445840
lea eax, [esp + 0x3a4]
lea ebx, [ebx]
cmp word [eax], 0x5c
jne 0x44521e
mov ecx, 0x2f
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x445210
cmp edi, 4
sete al
push ebx
mov byte [esp + 0xf], al
test al, al
je 0x44525e
lea eax, [esp + 0x3a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445240
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x3a6], 0x2f
je 0x44525e
mov bl, 1
jmp 0x445260
xor bl, bl
cmp byte [esp + 0xf], 0
push esi
mov esi, 8
mov dword [esp + 0x14], esi
jne 0x445285
lea edx, [esp + 0x3ac]
push edx
call fcn.00442f70
add esp, 4
test al, al
je 0x44528b
xor esi, esi
mov dword [esp + 0x14], esi
cmp edi, 2
jne 0x44529e
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.00444350
jmp 0x4452e4
cmp edi, 1
jne 0x4452b9
mov ecx, dword [esp + 0x5c4]
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.004435d0
jmp 0x4452e4
cmp edi, 3
jne 0x4452d4
mov eax, dword [esp + 0x5c4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.00443710
jmp 0x4452e4
cmp edi, 4
jne 0x445839
mov ecx, ebp
call fcn.004437f0
xor edi, edi
cmp eax, edi
jne 0x44583e
push edi
push edi
push 0x104
lea edx, [esp + 0x174]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x3c0]
push eax
push edi
push 0xfde9
mov dword [esp + 0x39c], edi
mov byte [esp + 0x78], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x168]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445330
sub eax, edx
mov dword [esp + 0x38], eax
test bl, bl
je 0x445368
lea edi, [esp + 0x168]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x445350
mov cx, word [0x497928]
mov word [edi], cx
inc dword [esp + 0x38]
xor edi, edi
xor edx, edx
mov eax, 0xb17
mov word [esp + 0x4a], dx
mov edx, dword [ebp + 0x68]
mov word [esp + 0x20], ax
mov ecx, 0x14
mov eax, 8
mov byte [esp + 0x26c], 0
mov dword [esp + 0x164], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x370], 1
mov dword [esp + 0x378], edi
mov word [esp + 0x22], cx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov word [esp + 0x24], ax
cmp dword [ebp], edi
je 0x4453d3
cmp byte [esp + 0x13], 0
jne 0x4453d3
mov eax, 9
mov word [esp + 0x24], ax
mov word [esp + 0x4c], ax
mov word [esp + 0x26], si
cmp esi, edi
jne 0x4453f4
mov eax, dword [ebp + 0x70]
cmp eax, edi
jl 0x4453f4
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x30], eax
jmp 0x4453f8
mov dword [esp + 0x30], edi
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x18]
xor eax, eax
mov word [esp + 0x48], ax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dl, byte [ebp + 0x58]
lea ecx, [esp + 0x394]
lea eax, [esp + 0x380]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov byte [esp + 0x385], dl
mov eax, esi
mov edx, edi
mov cl, 8
mov dword [esp + 0x3c], 0x11
mov dword [esp + 0x40], 9
mov byte [esp + 0x380], 0x55
mov byte [esp + 0x381], 0x54
mov byte [esp + 0x382], 0xd
mov byte [esp + 0x383], 0
mov byte [esp + 0x384], 7
call fcn.0046fad0
mov byte [esp + 0x386], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.0046fad0
mov byte [esp + 0x387], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.0046fad0
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov bl, al
mov al, byte [ebp + 0x50]
mov byte [esp + 0x389], al
mov eax, esi
mov edx, edi
mov cl, 8
mov byte [esp + 0x388], bl
call fcn.0046fad0
mov byte [esp + 0x38a], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.0046fad0
mov byte [esp + 0x38b], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.0046fad0
mov cl, byte [ebp + 0x60]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp + 0x64]
mov byte [esp + 0x38c], al
mov byte [esp + 0x38d], cl
mov eax, esi
mov edx, edi
mov cl, 8
call fcn.0046fad0
mov byte [esp + 0x38e], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.0046fad0
mov byte [esp + 0x38f], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.0046fad0
mov edx, dword [esp + 0x380]
mov byte [esp + 0x390], al
mov eax, dword [esp + 0x384]
mov dword [esp + 0x394], edx
push ebp
lea ecx, [esp + 0x24]
push fcn.00444330
push ecx
mov dword [esp + 0x3a4], eax
mov byte [esp + 0x3a8], bl
mov byte [esp + 0x3a2], 5
call fcn.004424b0
add esp, 0xc
test eax, eax
je 0x445592
mov ecx, ebp
call fcn.00443960
mov eax, 0x400
jmp 0x44583e
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea ecx, [edx + eax + 0x1e]
add dword [ebp + 0x18], ecx
cmp dword [ebp + 0x14], 0
je 0x4455b6
mov ecx, ebp
call fcn.00443960
mov eax, dword [ebp + 0x14]
jmp 0x44583e
mov esi, dword [ebp]
lea edi, [ebp + 0x30]
mov dword [edi], 0x12345678
mov dword [ebp + 0x34], 0x23456789
mov dword [ebp + 0x38], 0x34567890
test esi, esi
je 0x4455ea
movzx eax, byte [esi]
test al, al
je 0x4455ea
push eax
push edi
call fcn.00442ef0
add esp, 8
add esi, 1
jne 0x4455d4
cmp byte [0x4b16b4], 0
jne 0x44560c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.00470034
add esp, 4
xor esi, esi
mov edi, edi
call fcn.00470046
sar eax, 7
mov byte [esp + esi + 0x3a0], al
inc esi
cmp esi, 0xc
jl 0x445610
mov edx, dword [esp + 0x28]
shr edx, 8
mov byte [esp + 0x3ab], dl
xor esi, esi
movzx eax, byte [esp + esi + 0x3a0]
push eax
push edi
call fcn.00442f40
mov byte [esp + esi + 0x3a8], al
inc esi
add esp, 8
cmp esi, 0xc
jl 0x445635
cmp dword [ebp], 0
mov bl, byte [esp + 0x13]
je 0x445679
test bl, bl
jne 0x445679
push 0xc
lea ecx, [esp + 0x3a4]
push ecx
push ebp
call fcn.00444330
add esp, 0xc
add dword [ebp + 0x18], 0xc
xor esi, esi
cmp dword [ebp], esi
je 0x445689
test bl, bl
jne 0x445689
lea eax, [esi + 1]
jmp 0x44568b
xor eax, eax
mov edi, dword [esp + 0x14]
mov byte [ebp + 0x2d], al
test bl, bl
jne 0x4456ba
cmp edi, 8
jne 0x4456ab
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.00445050
mov esi, eax
jmp 0x4456c0
cmp edi, esi
jne 0x4456c0
mov ecx, ebp
call fcn.004439c0
mov esi, eax
jmp 0x4456c0
mov dword [ebp + 0x90], esi
mov ecx, ebp
mov byte [ebp + 0x2d], 0
call fcn.00443960
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x18], ecx
test eax, eax
jne 0x44583e
test esi, esi
jne 0x445588
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x78]
add eax, ecx
cmp dword [esp + 0x30], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x70]
sete cl
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
je 0x44577c
cmp dword [ebp], esi
je 0x445715
test bl, bl
je 0x44577c
test byte [esp + 0x24], 1
mov word [esp + 0x26], di
jne 0x44572b
mov ecx, 0xfff7
and word [esp + 0x24], cx
mov eax, dword [esp + 0x54]
sub eax, dword [ebp + 0x10]
mov dx, word [esp + 0x24]
push eax
mov ecx, ebp
mov word [esp + 0x50], dx
call fcn.00443570
test al, al
je 0x445772
push ebp
lea ecx, [esp + 0x24]
push fcn.00444330
push ecx
call fcn.004424b0
add esp, 0xc
test eax, eax
jne 0x445588
mov edx, dword [ebp + 0x18]
push edx
mov ecx, ebp
call fcn.00443570
test al, al
jne 0x4457be
mov eax, 0x2000000
jmp 0x44583e
cmp word [esp + 0x26], di
jne 0x44578b
test edi, edi
jne 0x445795
test cl, cl
jne 0x445795
mov eax, 0x4000000
jmp 0x44583e
push ebp
lea eax, [esp + 0x24]
push fcn.00444330
push eax
call fcn.00442730
add esp, 0xc
test eax, eax
jne 0x445588
mov cx, word [esp + 0x4c]
add dword [ebp + 0x18], 0x10
mov word [esp + 0x24], cx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x44583e
mov edx, dword [esp + 0x40]
push edx
call fcn.00446b54
mov ecx, dword [esp + 0x164]
mov esi, eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push esi
call fcn.0046fb60
push 0x360
mov dword [esp + 0x174], esi
call fcn.00446b1a
mov ecx, 0xd8
lea esi, [esp + 0x34]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x44]
add esp, 0x14
test ecx, ecx
jne 0x445813
mov dword [ebp + 0x44], eax
xor eax, eax
jmp 0x44583e
cmp dword [ecx + 0x35c], 0
je 0x44582f
lea esp, [esp]
mov ecx, dword [ecx + 0x35c]
cmp dword [ecx + 0x35c], 0
jne 0x445820
mov dword [ecx + 0x35c], eax
xor eax, eax
jmp 0x44583e
mov eax, 0x10000
pop esi
pop ebx
mov ecx, dword [esp + 0x5ac]
pop edi
pop ebp
xor ecx, esp
call fcn.0046dc02
add esp, 0x5a8
ret 0x10