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

Disassembly:
push 0xffffffffffffffff
push 0x48228b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xa0]
mov dword [esp + 0x6c], esi
call fcn.0043a8f0
lea ecx, [esp + 0x80]
mov dword [esp + 0x110], 0
call fcn.0043d510
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 1
call fcn.00430a80
mov eax, dword [esp + 0x170]
mov byte [esp + 0x110], 2
test eax, eax
je 0x45d365
mov dword [eax], 0xc8
mov ecx, esi
call fcn.0045cdd0
test eax, eax
je 0x45d3f6
mov ecx, dword [esp + 0x11c]
xor ebx, ebx
push ebx
call fcn.0043baa0
mov edi, dword [esp + 0x168]
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
cmp edi, ebx
mov ebx, dword [esp + 0x16c]
je 0x45d444
lea eax, [esp + 0x28]
push ebx
push eax
push 0xb
call edi
lea ecx, [esp + 0x40]
push ebx
push ecx
push 0xd
call edi
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, 1
jne 0x45d43c
push 3
push 0x8000000
push 1
push 0
mov ecx, ebp
call fcn.0043baa0
push eax
lea ecx, [esp + 0xdc]
call fcn.00432030
test eax, eax
jne 0x45d454
mov ecx, esi
call fcn.0045cfd0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 1
call fcn.00430aa0
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0
call fcn.0043d250
lea ecx, [esp + 0xa0]
mov dword [esp + 0x110], 0xffffffff
call fcn.0043a990
xor eax, eax
jmp 0x45deb3
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x45d454
test ebp, ebp
je 0x45d454
push 0x4a3290
mov ecx, ebp
call fcn.0043ae00
mov edx, dword [esp + 0x17c]
or ebx, 0xffffffff
test edx, edx
je 0x45d471
mov edi, edx
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x45d471
xor edx, edx
push 0
push 0
push edx
mov ecx, dword [esp + 0x12c]
neg edx
sbb edx, edx
and edx, 3
push edx
push 0
call fcn.0043baa0
push eax
call dword [esi + 0x38]
test eax, eax
mov dword [esp + 0x54], eax
jne 0x45d4e1
mov ecx, esi
call fcn.0045cfd0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 1
call fcn.00430aa0
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0
call fcn.0043d250
lea ecx, [esp + 0xa0]
mov dword [esp + 0x110], ebx
call fcn.0043a990
xor eax, eax
jmp 0x45deb3
mov ecx, dword [esp + 0x180]
mov dword [esi + 0xc], eax
cmp ecx, ebx
je 0x45d4ff
lea edx, [esp + 0x180]
push 4
push edx
push 2
push eax
call dword [esi + 0x44]
push 0x10002
lea ecx, [esp + 0xa4]
call fcn.0043aa80
push 0x10002
call fcn.0046fea8
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x45de23
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
mov edi, dword [esp + 0x118]
push esi
push 0
push eax
mov eax, dword [esp + 0x14c]
push ecx
push edx
push eax
push 0
mov ecx, edi
call fcn.0043baa0
mov ebx, dword [esp + 0x6c]
push eax
push ebx
call dword [esi + 0x50]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x38], ebp
jne 0x45d57d
push eax
mov ecx, edi
call fcn.0043baa0
push ebx
jmp 0x45de14
mov eax, dword [esp + 0x168]
mov dword [esp + 0x40], 0
test eax, eax
je 0x45d5ba
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x40]
push ecx
push edx
push 8
call eax
add esp, 0xc
cmp eax, 1
jne 0x45d5ba
cmp dword [esp + 0x40], 1
jne 0x45d5ba
push 0
push 0
push 0x2a
push ebp
call dword [esi + 0x44]
mov edi, dword [esp + 0x138]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
test edi, edi
je 0x45d5d6
push edi
call ebx
push eax
push edi
push 0x2b
push ebp
call dword [esi + 0x44]
mov edi, dword [esp + 0x13c]
test edi, edi
je 0x45d5ec
push edi
call ebx
push eax
push edi
push 0x2c
push ebp
call dword [esi + 0x44]
mov eax, dword [esp + 0x168]
mov edi, dword [esp + 0x160]
test eax, eax
je 0x45d62a
test edi, edi
je 0x45d607
mov eax, dword [edi + 0x1c]
jmp 0x45d609
xor eax, eax
mov ecx, dword [esp + 0x16c]
push ecx
push eax
push 0
call dword [esp + 0x174]
add esp, 0xc
test eax, eax
je 0x45de17
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x144]
cmp eax, 3
jne 0x45d742
mov ebx, dword [esp + 0x168]
mov dword [esp + 0x78], 0x497368
test ebx, ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], 0x84000300
je 0x45d6a3
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x11c]
push edx
push eax
push 9
call ebx
add esp, 0xc
test eax, eax
jne 0x45d680
or dword [esp + 0x14], 0x80000
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x11c]
push ecx
push edx
push 0xa
call ebx
add esp, 0xc
test eax, eax
jne 0x45d6a3
or dword [esp + 0x14], 0x200000
cmp word [esp + 0x140], 0x1bb
jne 0x45d6b7
or dword [esp + 0x14], 0x800000
mov eax, dword [esp + 0x15c]
test eax, eax
jne 0x45d6c6
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x14]
push esi
push ecx
mov ecx, dword [esp + 0x124]
push eax
push 0
push 0
push 0
call fcn.0043baa0
mov edx, dword [esp + 0x15c]
push eax
push edx
push ebp
call dword [esi + 0x3c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x45de17
mov eax, dword [esp + 0x168]
mov dword [esp + 0x60], 0
test eax, eax
je 0x45d727
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x60]
push ecx
push edx
push 0xc
call eax
mov eax, dword [esp + 0x6c]
add esp, 0xc
test eax, eax
jne 0x45d779
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 0x1f
push ebx
mov dword [esp + 0x24], 0x3380
call dword [esi + 0x44]
jmp 0x45d77d
cmp eax, 1
jne 0x45de17
mov ecx, dword [esp + 0x11c]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
push SysReAllocString
push 0
call fcn.0043baa0
mov ecx, dword [esp + 0x44]
push eax
push ecx
call dword [esi + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
je 0x45de17
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x168]
test eax, eax
je 0x45d7b6
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x70]
push ecx
push edx
push 7
mov dword [esp + 0x80], ebx
call eax
add esp, 0xc
test eax, eax
je 0x45de0b
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14c]
mov eax, dword [esp + 0x164]
test edi, edi
jne 0x45d830
test eax, eax
jne 0x45d835
cmp dword [esp + 0x144], 3
jne 0x45da23
mov edi, dword [esp + 0x150]
cmp edi, 0xffffffff
jne 0x45d7f4
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push ebp
push ebx
call dword [esi + 0x14]
test eax, eax
jne 0x45da2a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
call edi
push 0
call edi
push eax
mov ecx, 0x4a2a80
call fcn.0043dd60
jmp 0x45de0b
mov ebp, dword [edi + 0x18]
jmp 0x45d837
xor ebp, ebp
push 0
push 0x2c
push eax
push edi
push ebx
mov dword [esp + 0x34], ebp
call dword [esi + 0x18]
test eax, eax
jne 0x45d854
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45de0b
mov eax, dword [esp + 0x168]
test eax, eax
je 0x45d877
mov edx, dword [esp + 0x16c]
push edx
push ebp
push 1
call eax
add esp, 0xc
test eax, eax
je 0x45de0b
test edi, edi
je 0x45d9ff
mov ebp, dword [edi + 4]
test ebp, ebp
je 0x45d9ff
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x45d8d9
mov eax, dword [esp + 0x178]
test eax, eax
jne 0x45d8d9
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45d9eb
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [esi + 0x54]
test eax, eax
je 0x45d9f7
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
cmp ecx, eax
jne 0x45d9f7
jmp 0x45d9eb
mov edi, dword [ebp + 0x18]
xor ebx, ebx
test edi, edi
jbe 0x45d9eb
cmp edi, 0x10000
mov eax, edi
jb 0x45d8f5
mov eax, 0x10000
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
push ecx
call dword [esi + 0x54]
test eax, eax
je 0x45d9e5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x45d9eb
mov edx, dword [esp + 0x20]
add ebx, eax
add edx, eax
mov eax, dword [esp + 0x178]
sub edi, ecx
mov dword [esp + 0x20], edx
test eax, eax
je 0x45d9b3
lea ecx, [esp + 0x80]
call fcn.0043d620
lea ecx, [esp + 0x80]
call fcn.0043d640
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ecx
fild qword [esp + 0x58]
mov dword [esp + 0x50], eax
fmul qword [0x483d08]
fild qword [esp + 0x4c]
fdivr qword [0x4837e8]
fmulp st(1)
fild qword [esp + 0x44]
fsubp st(1)
call fcn.00470110
test eax, eax
jle 0x45d9a7
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x80]
call fcn.0043d610
mov eax, dword [esp + 0x168]
test eax, eax
je 0x45d9db
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x20]
push edx
push eax
push 1
call dword [esp + 0x174]
add esp, 0xc
test eax, eax
je 0x45d9f7
test edi, edi
ja 0x45d8e6
jmp 0x45d9eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x45d9ff
jmp 0x45d88a
test ebp, ebp
jne 0x45de0b
mov ebx, dword [esp + 0x10]
push 0
push 8
push 0
push ebx
call dword [esi + 0x20]
test eax, eax
jne 0x45da1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45de0b
mov ebp, dword [esp + 0x14c]
mov edi, dword [esp + 0x150]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push 0x20000013
push ebx
mov dword [esp + 0x2c], 4
call dword [esi + 0x4c]
test eax, eax
je 0x45dafa
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x2c]
test ecx, ecx
je 0x45da60
mov dword [ecx], eax
cmp eax, 0x197
jne 0x45dafa
mov eax, dword [esp + 0x128]
test eax, eax
jne 0x45da7c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push 7
push 0x2eee
push ebx
push eax
call dword [esi + 0x48]
cmp eax, 0x2f00
jne 0x45dafa
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push ebp
push ebx
call dword [esi + 0x14]
test eax, eax
jne 0x45dafa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0c
jne 0x45de0b
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 4
push edx
push 0x2f
push ebx
mov dword [esp + 0x24], 0
call dword [esi + 0x44]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x14c]
push eax
push ecx
push edi
push edx
push ebx
call dword [esi + 0x14]
test eax, eax
je 0x45de0b
xor edi, edi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0xf8]
push eax
push ecx
push 5
push ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x2c], 0x14
call dword [esi + 0x4c]
test eax, eax
je 0x45db3e
lea edx, [esp + 0x64]
lea eax, [esp + 0xf4]
push edx
push str._I64d
push eax
call fcn.0046fcfa
add esp, 0xc
mov eax, dword [esp + 0x168]
cmp eax, edi
je 0x45dc13
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x64]
push ecx
push edx
push 2
call eax
add esp, 0xc
test eax, eax
je 0x45de0b
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 0x64]
push eax
push ecx
push 3
call dword [esp + 0x174]
add esp, 0xc
test eax, eax
je 0x45de0b
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
mov edi, 0x2710
push 0x2b
push ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], edi
call dword [esi + 0x4c]
test eax, eax
je 0x45dc13
mov edx, dword [esp + 0x1c]
push 0
push 1
push edx
push ebx
lea ecx, [esp + 0xb0]
call fcn.0043ac30
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 0xa0]
push eax
push ecx
push 4
call dword [esp + 0x174]
add esp, 0xc
test eax, eax
je 0x45de0b
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
push 0x2b
push ecx
mov dword [esp + 0x30], edi
call dword [esi + 0x4c]
test eax, eax
jne 0x45dbb8
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x45dc2d
cmp eax, 0x10001
jb 0x45dc32
mov eax, 0x10001
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [esi + 0x58]
test eax, eax
je 0x45ddef
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x3c], 1
test ebx, ebx
je 0x45ddef
cmp dword [esp + 0x28], 1
jne 0x45dc8b
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xcc]
push edx
push ebx
call fcn.004321d0
test eax, eax
je 0x45dde7
jmp 0x45dd1a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45dce5
mov ecx, dword [eax + 8]
mov edx, dword [eax]
lea ebp, [eax + 8]
add ecx, ebx
push ecx
push edx
mov edi, eax
call fcn.00471385
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x45dd1a
mov esi, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebp]
mov ecx, ebx
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov esi, dword [esp + 0x6c]
add edx, ebx
mov dword [ebp], edx
mov ecx, dword [ebp + 4]
adc ecx, eax
mov dword [ebp + 4], ecx
jmp 0x45dd1a
mov eax, dword [esp + 0x124]
test eax, eax
je 0x45dd1a
mov ecx, dword [esp + 0x24]
push 0
push 1
push ebx
push ecx
lea ecx, [esp + 0xb0]
call fcn.0043ac30
mov ecx, dword [esp + 0x124]
lea edx, [esp + 0xa0]
push edx
call fcn.0043ade0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x174]
xor ebx, ebx
add ecx, eax
cmp edi, ebx
mov dword [esp + 0x20], ecx
je 0x45dda1
lea ecx, [esp + 0x80]
call fcn.0043d620
lea ecx, [esp + 0x80]
call fcn.0043d640
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], edi
fild qword [esp + 0x4c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fmul qword [0x483d08]
fild qword [esp + 0x58]
fdivr qword [0x4837e8]
fmulp st(1)
fild qword [esp + 0x44]
fsubp st(1)
call fcn.00470110
cmp eax, ebx
jle 0x45dd95
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x80]
call fcn.0043d610
mov eax, dword [esp + 0x168]
cmp eax, ebx
je 0x45ddc4
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x20]
push edx
push ecx
push 5
call eax
add esp, 0xc
test eax, eax
je 0x45ddef
mov eax, dword [esp + 0x12c]
cmp eax, ebx
je 0x45dc1b
mov edx, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x12c], eax
je 0x45ddef
jmp 0x45dc1b
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x168]
test eax, eax
je 0x45de0b
mov ecx, dword [esp + 0x16c]
push ecx
push 0
push 6
call eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45de17
push eax
call dword [esi + 0x5c]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45de23
push eax
call dword [esi + 0x5c]
mov edi, dword [esp + 0x54]
push edi
call dword [esi + 0x5c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45de3c
push eax
call fcn.0046fd2e
add esp, 4
cmp dword [esi + 0xc], edi
jne 0x45de48
mov dword [esi + 0xc], 0
cmp dword [esp + 0x28], 1
jne 0x45de5b
lea ecx, [esp + 0xcc]
call fcn.004322e0
mov ecx, esi
call fcn.0045cfd0
mov ecx, dword [esp + 0x11c]
push 0
call fcn.0043baa0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 1
call fcn.00430aa0
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0
call fcn.0043d250
lea ecx, [esp + 0xa0]
mov dword [esp + 0x110], 0xffffffff
call fcn.0043a990
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret 0x6c