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

Disassembly:
push 0xffffffffffffffff
push 0x561859
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x3cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x3e4]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3f4]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x45fea7
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x100]
call fcn.00402120
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0x3f4], ebx
call fcn.00471a50
push 0x80
mov byte [esp + 0x3f8], 1
call fcn.00492548
add esp, 0xc
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x3ec], 2
je 0x45ff14
mov ecx, eax
call fcn.004772a0
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x45ff1a
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x3ec], 1
jae 0x45ff3a
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.004773f0
mov ecx, esi
call fcn.004766b0
lea esi, [eax + 0xc]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x45ff5a
mov edi, dword [esi + 8]
sub edi, eax
jne 0x45ff5f
mov edi, 1
push edi
call fcn.00492578
push edi
mov ebp, eax
push ebx
push ebp
mov dword [esp + 0x4c], ebp
call fcn.004afb50
add esp, 0x10
mov ecx, esi
xor edi, edi
call fcn.00419a40
test eax, eax
jbe 0x45ffaf
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x45ff93
mov eax, dword [esi + 8]
sub eax, ecx
cmp edi, eax
jb 0x45ff98
call fcn.004afdfe
mov edx, dword [esi + 4]
mov al, byte [edi + edx]
mov byte [edi + ebp], al
mov ecx, esi
add edi, 1
call fcn.00419a40
cmp edi, eax
jb 0x45ff83
push ebp
call fcn.0046f5f0
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004774f0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x150]
call fcn.004792a0
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x3f0], 3
call fcn.0047ba50
mov edi, 0xf
mov eax, esi
mov byte [esp + 0x3ec], 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x460005
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00401f00
push 1
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x3f8], 5
call fcn.0047aae0
cmp dword [esp + 0x38], 0x10
mov bl, al
mov byte [esp + 0x3ec], 4
jb 0x460059
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00492573
add esp, 4
test bl, bl
jne 0x46015c
mov ecx, dword [esp + 0x18]
xor ebx, ebx
cmp ecx, ebx
je 0x460073
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp ebp, ebx
je 0x460080
push ebp
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3ec], 3
call fcn.0047bbd0
mov esi, 0x10
cmp dword [esp + 0x1bc], esi
jb 0x4600af
mov ecx, dword [esp + 0x1a8]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x18c], esi
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], ebx
mov byte [esp + 0x1a8], 0
jb 0x4600de
mov edx, dword [esp + 0x178]
push edx
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], 0
call fcn.0041e560
lea ecx, [esp + 0x14c]
call fcn.0041af60
cmp dword [esp + 0xbc], esi
jb 0x460125
mov eax, dword [esp + 0xa8]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x110], 8
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], 0
jb 0x460155
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00492573
add esp, 4
xor eax, eax
jmp 0x460bcc
xor esi, esi
push esi
push 0x5a6600
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], esi
mov byte [esp + 0x78], 0
call fcn.00401f00
push esi
push 0x5a6600
lea ecx, [esp + 0x138]
mov byte [esp + 0x3f4], 6
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], esi
mov byte [esp + 0x13c], 0
call fcn.00401f00
push esi
push 0x5a6600
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3f4], 7
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], esi
mov byte [esp + 0xe8], 0
call fcn.00401f00
push esi
push 0x5a6600
lea ecx, [esp + 0x11c]
mov byte [esp + 0x3f4], 8
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], esi
mov byte [esp + 0x120], 0
call fcn.00401f00
push esi
push 0x5a6600
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3f4], 9
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], esi
mov byte [esp + 0xcc], 0
call fcn.00401f00
xor eax, eax
push esi
push 0x5a6600
lea ecx, [esp + 0x90]
mov byte [esp + 0x3f4], 0xa
mov byte [esp + 0x1cc], 0
mov dword [esp + 0x1cd], eax
mov dword [esp + 0x1d1], eax
mov dword [esp + 0x1d5], eax
mov dword [esp + 0x1d9], eax
mov word [esp + 0x1dd], ax
mov byte [esp + 0x1df], al
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], esi
mov byte [esp + 0x94], al
call fcn.00401f00
push 0x206
lea edx, [esp + 0x1de]
push esi
push edx
mov byte [esp + 0x3f8], 0xb
mov word [esp + 0x1e4], si
call fcn.004afb50
add esp, 0xc
push str.weatherinfo
lea ecx, [esp + 0x60]
call fcn.0047ca50
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x4609b8
push esi
lea ecx, [esp + 0x24]
call fcn.0047ba50
push str.weatherinfo
lea ecx, [esp + 0x60]
mov byte [esp + 0x3f0], 0xc
call fcn.0047ca50
push eax
lea ecx, [esp + 0x24]
call fcn.0047c570
push str.temp
lea ecx, [esp + 0x24]
call fcn.0047ca50
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x460391
push str.temp
lea ecx, [esp + 0x24]
call fcn.0047ca50
mov ecx, eax
call fcn.0047acc0
test al, al
je 0x460391
lea eax, [esp + 0x40]
push eax
push str.temp
lea ecx, [esp + 0x28]
call fcn.0047ca50
mov ecx, eax
call fcn.0047b250
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3f8], 0xd
call fcn.00401d90
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x3ec], 0xc
jb 0x460391
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00492573
add esp, 4
push 0x208
lea edx, [esp + 0x1dc]
push esi
push edx
call fcn.004afb50
mov eax, dword [esp + 0xd0]
add esp, 0xc
cmp dword [esp + 0xd8], 0x10
jae 0x4603bf
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0046ec80
lea edx, [esp + 0x1e0]
push edx
call fcn.004b0f27
push eax
lea eax, [esp + 0x1e8]
push 0x571094
push eax
call fcn.00405340
lea eax, [esp + 0x1f0]
add esp, 0x18
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x460400
mov ebp, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1dc]
lea esi, [ebp + 0x984]
push ecx
mov ecx, esi
call fcn.00402120
push 1
push 0x57c958
mov ecx, esi
call fcn.00403e10
xor eax, eax
xor esi, esi
jmp 0x460440
lea ebx, [eax + 1]
push ebx
lea edx, [esp + 0x1c8]
push str.temp_d
push edx
mov edi, 0x10
call fcn.004afe0e
lea eax, [esp + 0x1d0]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x460468
sub eax, edx
push eax
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x90]
call fcn.00401f00
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x46050e
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047acc0
test al, al
je 0x46050e
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0047ca60
mov ecx, eax
call fcn.0047b250
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x3f8], 0xe
call fcn.00401d90
cmp dword [esp + 0x58], edi
mov byte [esp + 0x3ec], 0xc
jb 0x46050e
mov edx, dword [esp + 0x44]
push edx
call fcn.00492573
add esp, 4
push 0x208
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.004afb50
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp dword [esp + 0x84], edi
jae 0x460536
lea eax, [esp + 0x70]
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0046ec80
mov edx, dword [ebp + 0x8f8]
lea eax, [esp + 0x1e0]
add esp, 8
lea ecx, [edx + esi + 0x60]
lea edi, [eax + 2]
jmp 0x460560
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x460560
sub eax, edi
sar eax, 1
push eax
lea eax, [esp + 0x1dc]
push eax
call fcn.00402120
add esi, 0x150
cmp esi, 0x7e0
mov eax, ebx
jne 0x460440
xor eax, eax
xor edi, edi
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x1c8]
push str.wind_d
push ecx
call fcn.004afe0e
lea eax, [esp + 0x1d0]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4605b8
sub eax, edx
push eax
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x90]
call fcn.00401f00
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x46065f
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047acc0
test al, al
je 0x46065f
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
call fcn.0047ca60
mov ecx, eax
call fcn.0047b250
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x3f8], 0xf
call fcn.00401d90
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x3ec], 0xc
jb 0x46065f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00492573
add esp, 4
push 0x208
lea edx, [esp + 0x1dc]
push 0
push edx
call fcn.004afb50
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp dword [esp + 0x84], 0x10
jae 0x460688
lea eax, [esp + 0x70]
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0046ec80
mov edx, dword [ebp + 0x8f8]
lea eax, [esp + 0x1e0]
add esp, 8
lea ecx, [edx + edi + 0x28]
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4606b0
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x1dc]
push eax
call fcn.00402120
add edi, 0x150
cmp edi, 0x7e0
mov eax, ebx
jne 0x460595
xor eax, eax
xor edi, edi
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x1c8]
push str.weather_d
push ecx
call fcn.004afe0e
lea eax, [esp + 0x1d0]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x460708
sub eax, edx
push eax
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x90]
call fcn.00401f00
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x4607af
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047acc0
test al, al
je 0x4607af
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
call fcn.0047ca60
mov ecx, eax
call fcn.0047b250
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x3f8], 0x10
call fcn.00401d90
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x3ec], 0xc
jb 0x4607af
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00492573
add esp, 4
push 0x208
lea edx, [esp + 0x1dc]
push 0
push edx
call fcn.004afb50
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp dword [esp + 0x84], 0x10
jae 0x4607d8
lea eax, [esp + 0x70]
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0046ec80
mov edx, dword [ebp + 0x8f8]
lea eax, [esp + 0x1e0]
add esp, 8
lea ecx, [edx + edi + 0xc]
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x460800
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x1dc]
push eax
call fcn.00402120
add edi, 0x150
cmp edi, 0x7e0
mov eax, ebx
jne 0x4606e5
xor ebp, ebp
xor ebx, ebx
mov edi, 1
lea ebx, [ebx]
push edi
lea ecx, [esp + 0x1c8]
push str.img_d
push ecx
mov esi, 0x10
call fcn.004afe0e
lea eax, [esp + 0x1d0]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x460865
sub eax, edx
push eax
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x90]
call fcn.00401f00
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047aca0
test al, al
jne 0x46090b
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x24]
call fcn.0047ca60
mov ecx, eax
call fcn.0047acc0
test al, al
je 0x46090b
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
call fcn.0047ca60
mov ecx, eax
call fcn.0047b250
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x3f8], 0x11
call fcn.00401d90
cmp dword [esp + 0x58], esi
mov byte [esp + 0x3ec], 0xc
jb 0x46090b
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00492573
add esp, 4
push 0x208
lea edx, [esp + 0x1dc]
push 0
push edx
call fcn.004afb50
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp dword [esp + 0x84], esi
jae 0x460933
lea eax, [esp + 0x70]
lea ecx, [esp + 0x1d8]
push ecx
push eax
call fcn.0046ec80
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x8f8]
lea ecx, [eax + ebx + 0x7c]
lea eax, [esp + 0x1e0]
add esp, 8
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x460960
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x1dc]
push edx
call fcn.00402120
mov ecx, dword [esp + 0x14]
push ebp
call fcn.0045f550
add edi, 2
add ebp, 1
add ebx, 0x150
cmp edi, 0xd
jne 0x460840
lea ecx, [esp + 0x20]
mov byte [esp + 0x3ec], 0xb
call fcn.0047bbd0
mov ebp, dword [esp + 0x3c]
mov edi, 0xf
xor esi, esi
mov ecx, dword [esp + 0x14]
call fcn.0045fbb0
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x4609d1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp ebp, esi
je 0x4609de
push ebp
call fcn.00492573
add esp, 4
mov ebp, 0x10
cmp dword [esp + 0xa0], ebp
jb 0x4609fc
mov eax, dword [esp + 0x8c]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0xd8], ebp
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
mov byte [esp + 0x8c], 0
jb 0x460a2b
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x12c], ebp
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], esi
mov byte [esp + 0xc4], 0
jb 0x460a5a
mov edx, dword [esp + 0x118]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0xf4], ebp
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], esi
mov byte [esp + 0x118], 0
jb 0x460a89
mov eax, dword [esp + 0xe0]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x148], ebp
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], esi
mov byte [esp + 0xe0], 0
jb 0x460ab8
mov ecx, dword [esp + 0x134]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], esi
mov byte [esp + 0x134], 0
jb 0x460ae4
mov edx, dword [esp + 0x70]
push edx
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
mov byte [esp + 0x3ec], 3
call fcn.0047bbd0
cmp dword [esp + 0x1bc], ebp
jb 0x460b21
mov eax, dword [esp + 0x1a8]
push eax
call fcn.00492573
add esp, 4
cmp dword [esp + 0x18c], ebp
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], esi
mov byte [esp + 0x1a8], 0
jb 0x460b50
mov ecx, dword [esp + 0x178]
push ecx
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], esi
mov byte [esp + 0x178], 0
call fcn.0041e560
lea ecx, [esp + 0x14c]
call fcn.0041af60
cmp dword [esp + 0xbc], ebp
jb 0x460b97
mov edx, dword [esp + 0xa8]
push edx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x110], 8
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
jb 0x460bc7
mov eax, dword [esp + 0xfc]
push eax
call fcn.00492573
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x3e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3cc]
xor ecx, esp
call fcn.004aeca3
add esp, 0x3dc
ret 4