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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
lea ecx, [esp - 0x180]
push 0xffffffffffffffff
push 0x100d97ea
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push esi
push edi
call fcn.1000faa0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10055bd0
test al, al
lea eax, [esp + 0x88]
je 0x100452d9
movdqa xmm0, xmmword [0x10107380]
push 0x62
push 0x100edb58
jmp 0x100452e8
movdqa xmm0, xmmword [str.pq_70C]
push 0x43
push 0x100edb60
movdqu xmmword [esp + 0x90], xmm0
push 7
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xa8], xmm0
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
call fcn.10055ad0
movdqa xmm0, xmmword [0x10107cc0]
add esp, 0x10
movdqu xmmword [esp + 0x88], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x88]
movdqa xmm0, xmmword [0x10107a60]
push 0x24
push 0x100edb68
movdqu xmmword [esp + 0xa0], xmm0
push 0x20
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
call fcn.10055ad0
add esp, 0x10
lea ecx, [esp + 0x120]
push eax
call fcn.1001ab60
mov dword [esp + 0x1c4], 0
lea edx, [esp + 0x54]
mov ecx, eax
call fcn.1004a740
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.1004a740
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.1004a740
lea edx, [esp + 0x48]
mov ecx, eax
call fcn.1004a740
lea edx, [esp + 0xc]
mov ecx, eax
call fcn.1001d8b0
mov edx, eax
lea ecx, [esp + 0x10]
call fcn.1001acf0
mov byte [esp + 0x1c4], 1
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.100101d0
mov byte [esp + 0x1c4], 2
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x40], 0x2e
cmovae eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov byte [esp + 0x1c4], 3
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1005dea0
mov ecx, eax
call fcn.10016450
mov byte [esp + 0x1c4], 5
cmp dword [esp + 0x3c], 0x10
jb 0x100454a6
push dword [esp + 0x28]
call fcn.100af6c3
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x1c4], 7
cmp dword [esp + 0x24], 0x10
jb 0x100454d6
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x1c4], 8
lea ecx, [esp + 0x120]
call fcn.10018740
cmp byte [esp + 0x80], 0
jne 0x100455b9
xor dl, dl
mov ecx, 0x2719
call fcn.1002f9c0
lea ecx, [esp + 0x10]
call fcn.1000fd80
mov byte [esp + 0x1c4], 9
mov edx, eax
lea ecx, [esp + 0x108]
call fcn.1002d940
mov esi, eax
mov byte [esp + 0x1c4], 0xa
call fcn.10045cd0
push eax
lea ecx, [esp + 0x124]
call fcn.1001ab60
mov byte [esp + 0x1c4], 0xb
mov edx, esi
mov ecx, eax
call fcn.1001d920
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.1001acf0
mov byte [esp + 0x1c4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10045580
mov eax, dword [eax]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0xc]
push eax
call fcn.100b0028
mov byte [esp + 0x1c4], 0xd
mov dword [esp + 0x48], vtable.message_exception.0
mov byte [esp + 0x1c4], 0xc
lea eax, [esp + 0x48]
push 0x10127e5c
push eax
call fcn.100b5cab
call fcn.10045d30
push eax
lea ecx, [esp + 0x6c]
call fcn.10010c10
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x54], 0x1d
jbe 0x1004560a
call fcn.10045e90
mov edx, eax
cmp word [edx], 0
jne 0x100455e8
xor ecx, ecx
jmp 0x100455ff
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100455f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.10010b10
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov dword [esp + 0x64], eax
mov edi, edi
test eax, eax
jne 0x100456fa
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x64]
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push ecx
push eax
push 2
call ebx
test eax, eax
jne 0x10045648
push 0x32
call edi
inc esi
cmp esi, 0x258
jge 0x10045657
mov eax, dword [esp + 0x64]
jmp 0x10045620
cmp dword [esp + 0x64], 0
jne 0x100456fa
movdqa xmm0, xmmword [0x10107f60]
lea eax, [esp + 0x88]
push 0xa7
movdqu xmmword [esp + 0x8c], xmm0
push 0x100edbdc
movdqa xmm0, xmmword [0x101072c0]
movdqu xmmword [esp + 0xa0], xmm0
push 0x16
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
call fcn.10055ad0
add esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x48]
push eax
call fcn.100b0028
push 0x10127e74
lea eax, [esp + 0x4c]
push eax
call fcn.100b5cab
movdqa xmm0, xmmword [0x10107550]
lea eax, [esp + 0x88]
push 0x88
push 0x100edbf4
movdqu xmmword [esp + 0x90], xmm0
push 9
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xa8], xmm0
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
call fcn.10055ad0
mov edx, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
add esp, 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
cmp byte [edx], 0
jne 0x10045799
xor ecx, ecx
jmp 0x100457a9
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100457a0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.10010560
mov byte [esp + 0x1c4], 0xf
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x40], 0x2e
cmovae eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov byte [esp + 0x1c4], 0x10
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x84]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1003c170
mov esi, eax
mov byte [esp + 0x1c4], 0x11
cmp dword [esi + 0x14], 0x10
jb 0x10045803
mov esi, dword [esi]
call fcn.100b0967
push 0x10
mov dword [eax], 0
lea eax, [esp + 0x10]
push eax
push esi
call fcn.100b0c0b
add esp, 0xc
mov edi, eax
cmp esi, dword [esp + 0xc]
jne 0x10045830
push str.invalid_stoul_argument
call fcn.100ab334
call fcn.100b0967
cmp dword [eax], 0x22
jne 0x10045844
push str.stoul_argument_out_of_range
call fcn.100ab390
mov byte [esp + 0x1c4], 0x10
cmp dword [esp + 0x24], 0x10
jb 0x1004585f
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x3c], 0x10
jb 0x1004588f
push dword [esp + 0x28]
call fcn.100af6c3
add esp, 4
cmp dword [esp + 0x7c], 8
lea edx, [esp + 0x68]
mov dword [esp + 0x58], 0
cmovae edx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
cmp word [edx], ax
jne 0x100458e2
xor ecx, ecx
jmp 0x100458f6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100458e7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.10010b10
mov byte [esp + 0x1c4], 0x13
sub esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0x18]
push edi
call fcn.1004a100
add esp, 0xc
mov byte [esp + 0x1c4], 0x14
push eax
call fcn.10049990
mov byte [esp + 0x1c4], 0x15
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10045955
mov edx, dword [ecx]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x20], 0
mov byte [esp + 0x1c4], 0x13
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1004597f
mov edx, dword [ecx]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esp + 0x20], 0
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x5c], 8
jb 0x1004599a
push dword [esp + 0x48]
call fcn.100af6c3
add esp, 4
movdqa xmm0, xmmword [str.9_6__f_b_ri]
xor eax, eax
push 0x69
push 0x100edc00
mov word [esp + 0x50], ax
mov byte [esp + 0x14], al
lea eax, [esp + 0x90]
movdqu xmmword [esp + 0x90], xmm0
mov dword [esp + 0x64], 7
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push 8
push eax
movdqu xmmword [esp + 0xa8], xmm0
movdqu xmmword [esp + 0xb8], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
call fcn.10055ad0
add esp, 0x10
push dword [esp + 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10016570
mov byte [esp + 0x1c4], 0x16
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x84]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1003c170
mov byte [esp + 0x1c4], 0x17
push ecx
mov ecx, eax
call fcn.1004b770
add esp, 4
mov esi, eax
mov byte [esp + 0x1c4], 0x16
cmp dword [esp + 0x24], 0x10
jb 0x10045a7e
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x3c], 0x10
jb 0x10045aae
push dword [esp + 0x28]
call fcn.100af6c3
add esp, 4
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xf
cmovae eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.10010c10
mov byte [esp + 0x1c4], 0x19
sub esp, 8
lea edx, [esp + 0x18]
lea ecx, [esp + 0x50]
push esi
call fcn.1004a160
add esp, 0xc
mov byte [esp + 0x1c4], 0x1a
push eax
call fcn.10049990
mov byte [esp + 0x1c4], 0x19
lea ecx, [esp + 0x48]
call fcn.10049910
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x24], 8
jb 0x10045b31
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov byte [esp + 0xc], al
push dword [esp + 0xc]
mov dword [esp + 0x24], 0
push ecx
mov word [esp + 0x18], ax
call fcn.10046000
push eax
lea ecx, [esp + 0x34]
call fcn.10016570
mov byte [esp + 0x1c4], 0x1b
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x84]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1003c170
mov byte [esp + 0x1c4], 0x1c
push ecx
mov ecx, eax
call fcn.1004b770
add esp, 4
mov esi, eax
mov byte [esp + 0x1c4], 0x1b
cmp dword [esp + 0x24], 0x10
jb 0x10045bae
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x3c], 0x10
jb 0x10045bde
push dword [esp + 0x28]
call fcn.100af6c3
add esp, 4
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xf
cmovae eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.10010c10
mov byte [esp + 0x1c4], 0x1e
sub esp, 8
lea edx, [esp + 0x18]
lea ecx, [esp + 0x50]
push esi
call fcn.1004a1c0
add esp, 0xc
mov byte [esp + 0x1c4], 0x1f
push eax
call fcn.10049990
mov byte [esp + 0x1c4], 0x1e
lea ecx, [esp + 0x48]
call fcn.10049910
mov byte [esp + 0x1c4], 0xe
cmp dword [esp + 0x24], 8
jb 0x10045c61
push dword [esp + 0x10]
call fcn.100af6c3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x1c4], 8
cmp dword [esp + 0x7c], 8
jb 0x10045c93
push dword [esp + 0x68]
call fcn.100af6c3
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov dword [esp + 0x1c4], 0xffffffff
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
mov byte [esp + 0x78], al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret