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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ecx, dword [ebp + 0xc]
call 0x412585
pop ebx
call fcn.0045422a
mov esi, edx
lea ecx, [ebp - 0x50]
mov edx, eax
push esi
call fcn.00548b30
pop eax
lea esi, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.00523750
mov al, byte [ebp - 0x30]
cmp al, 0xa
je 0x41281e
add al, 0xfa
mov ecx, 0x69cb88
movzx edx, al
inc edx
cmp al, 4
mov eax, 0
cmovae edx, eax
mov eax, dword [edx*4 + 0x412d10]
add eax, ebx
jmp eax
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
call fcn.0045422a
mov ecx, eax
call fcn.005486e0
mov bl, 1
test eax, eax
je 0x412814
cmp edx, 2
jne 0x41283f
cmp word [eax], 0x2e2e
je 0x412814
mov esi, edx
test esi, esi
je 0x412814
mov ecx, esi
dec esi
cmp byte [eax + ecx - 1], 0x2e
jne 0x412841
mov edi, edx
sub edi, ecx
mov dword [ebp - 0x14], edi
jb 0x412d04
add eax, ecx
test esi, esi
cmove eax, esi
je 0x412814
mov dword [ebp - 0x10], eax
mov ecx, 0x240
push 4
pop ebx
mov edx, ebx
call fcn.00406573
mov esi, eax
mov dword [eax], 0x5963a4
push 3
pop eax
mov dword [esi + 4], eax
mov dword [esi + 8], 0x5963a7
mov dword [esi + 0xc], 0xb
mov dword [esi + 0x10], 0x5963b2
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], str.exe.NULcmd.exefallback_RNG_broken:
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0x5963b5
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x5963b8
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0x5963bb
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0x626e5f
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0x5963be
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x5963c1
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0x5963c4
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0x5963c7
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 0x5963ca
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0x5963cd
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0x5963d0
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x5963d3
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 0x5963d6
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0x5963d9
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0x5963dc
mov dword [esi + 0x94], 0xd
mov dword [esi + 0x98], 0x5963e9
push 7
pop edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], 0x5963f0
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], 0x5963f7
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 0x5963fe
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], 0x596401
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 0x596404
push 2
pop ecx
xor edx, edx
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], 0x596406
inc edx
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], 0x596407
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 0x65c659
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], 0x59640a
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], 0x59640d
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], 0x596410
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], 0x596414
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], 0x596417
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], 0x59641a
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], 0x59641d
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], 0x596420
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], 0x596423
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], 0x596426
push 5
pop ecx
mov dword [esi + 0x12c], ecx
mov dword [esi + 0x130], 0x59642b
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], 0x59642e
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], 0x596432
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], 0x65c942
push 2
pop ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], 0x596435
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], 0x596438
mov dword [esi + 0x15c], 0xc
mov dword [esi + 0x160], 0x596444
mov dword [esi + 0x164], eax
mov dword [esi + 0x168], 0x596447
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], 0x59644a
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], 0x59644d
mov dword [esi + 0x17c], 8
mov dword [esi + 0x180], 0x596455
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], 0x59645c
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], 0x59645f
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], 0x596462
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], 0x596465
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x1a8], 0x596468
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1b0], 0x59646b
push 9
pop edi
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1b8], str.keyiv
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c0], 0x596474
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x1c8], 0x596477
mov dword [esi + 0x1cc], 6
mov dword [esi + 0x1d0], 0x59647d
mov dword [esi + 0x1d4], edx
mov dword [esi + 0x1d8], 0x59647e
mov dword [esi + 0x1dc], edx
mov dword [esi + 0x1e0], 0x59647f
mov dword [esi + 0x1e4], ecx
mov dword [esi + 0x1e8], 0x596484
mov dword [esi + 0x1ec], ecx
mov dword [esi + 0x1f0], 0x596489
push 4
pop ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], 0x59648d
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x200], 0x596490
mov dword [esi + 0x204], edi
mov dword [esi + 0x208], 0x596499
mov dword [esi + 0x20c], eax
mov dword [esi + 0x210], 0x59649c
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], 0x59649f
push 2
pop edi
mov dword [esi + 0x21c], edi
mov edi, 0xfffffdc0
mov dword [esi + 0x220], 0x5964a1
mov dword [esi + 0x224], edx
mov dword [esi + 0x228], str.ccasedletterCased_LetterccControlFormatclosepunctuationClose_PunctuationcncoPrivate_UsecombiningmarkMarkconnectorpunctuationConnector_PunctuationcontrolcsSurrogatecurrencysymbolCurrency_SymboldashpunctuationDash_PunctuationdecimalnumberDecimal_NumberenclosingmarkEnclosing_MarkfinalpunctuationFinal_PunctuationformatinitialpunctuationInitial_PunctuationlLetterletterletternumberLetter_NumberlineseparatorLine_SeparatorllLowercase_LetterlmModifier_LetterloOther_LetterlowercaseletterltTitlecase_LetterluUppercase_LettermarkmathsymbolMath_SymbolmcSpacing_MarkmemnNonspacing_MarkmodifierlettermodifiersymbolModifier_SymbolnNumberndnlnoOther_NumbernonspacingmarknumberopenpunctuationOpen_PunctuationotherotherletterothernumberotherpunctuationOther_PunctuationothersymbolOther_SymbolpPunctuationparagraphseparatorParagraph_SeparatorpcpdpepfpipoprivateusepspunctuationSymbolseparatorSeparatorsksmsospaceseparatorSpace_Separatorspacingmarksurrogatesymboltitlecaseletteruppercaseletterzzlzpzs
mov dword [esi + 0x22c], edx
mov dword [esi + 0x230], 0x5964a2
mov dword [esi + 0x234], ecx
mov dword [esi + 0x238], 0x5964a7
mov dword [esi + 0x23c], eax
test edi, edi
sete bl
je 0x412cf5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push dword [esi + edi + 0x244]
push dword [esi + edi + 0x240]
call fcn.0055879c
pop ecx
pop edx
add edi, 8
test al, al
je 0x412ccc
push 0x48
pop ecx
mov edx, esi
call fcn.0055c549
jmp 0x412814
push 0x69b528
call fcn.00439ff0
nop
dec edi
add byte [eax], al
add byte [ecx], dh
add byte [eax], al
pop edi
add byte [eax], al
add byte [ecx], ch
add byte [eax], al
push edi
add byte [eax], al
add byte [ebp - 0x77], dl
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
lea eax, [0x617e28]
lea ebx, [esp + 0x90]
movaps xmmword [esp + 0xe0], xmm1
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], ecx
mov dword [ebx], eax
mov ecx, dword [ebx]
mov dword [ebx], 0x14a02ea0
mov edx, dword [ebx]
call fcn.004090f3
and dword [ebx + 0x34], 0
and dword [ebx + 0x30], 0
and dword [ebx + 0x38], 0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
cmp ecx, 0x3b
ja 0x412d9f
mov edx, dword [ecx + 0x596542]
xor edx, dword [eax + ecx]
mov dword [esp + ecx + 0x90], edx
add ecx, 4
jmp 0x412d85
mov al, byte [eax + 0x3c]
lea edi, [esp + 0x90]
xor al, 0x67
mov byte [edi + 0x3c], al
push 0x3d
pop eax
lea esi, [esp + 0xfc]
push eax
push ebx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x84]
mov dword [eax], esi
push 0x3d
pop ecx
mov dword [edi], 0x64bc18
mov dword [edi + 4], 2
and dword [edi + 0x10], 0
mov dword [eax + 4], ecx
lea ecx, [esp + 0x78]
mov dword [ecx], eax
mov dword [edi + 8], ecx
mov dword [ecx + 4], fcn.00426659
mov ecx, edi
mov dword [edi + 0xc], 1
call fcn.00547820
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
imul esi, eax, 0xc
test eax, eax
mov dword [esp + 0x28], eax
je 0x412e3f
cmp eax, 0xaaaaaab
jae 0x413277
push 4
pop ecx
mov edx, esi
call fcn.00406596
test eax, eax
mov dword [esp + 4], eax
jne 0x412e46
push 4
pop ecx
mov edx, esi
call fcn.00434230
push 4
pop eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x100], edi
xor edi, edi
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov cl, byte [eax + 4]
mov byte [esp + 3], cl
mov cl, byte [eax + 5]
mov eax, dword [eax]
mov byte [esp + 2], cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
xor eax, eax
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], edx
lea edx, [ebx - 0xc]
mov dword [esp + 0x38], ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
test esi, esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
je 0x41318b
mov ecx, dword [edx + esi + 4]
cmp dword [edx + esi], 0x80000000
mov dword [esp + 0x40], ecx
je 0x413187
lea eax, [edx + esi]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test esi, esi
mov dword [esp + 0x74], ecx
movsd xmm0, qword [eax]
mov eax, 1
movsd qword [esp + 0x6c], xmm0
je 0x412f1c
js 0x413277
xor ecx, ecx
mov edx, esi
inc ecx
call fcn.00479dba
test eax, eax
je 0x41327c
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x50], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x78]
push dword [esp + 0x3c]
call fcn.00434de0
pop eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x84]
push dword [esp + 0x38]
call fcn.00434de0
pop eax
mov eax, dword [esp + 0x1c]
lock inc dword [eax]
jle 0x413275
call fcn.0054fcd0
xor ecx, ecx
mov dword [esp + 0x44], eax
call fcn.0051e870
mov dword [esp + 0x50], eax
lock inc dword [eax]
jle 0x413275
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
lea ecx, [esp + 0x90]
mov edi, eax
call fcn.0040651e
mov dword [esp + 0x54], eax
lock inc dword [eax]
jle 0x413275
xor ecx, ecx
mov esi, eax
call fcn.00547380
mov ebx, eax
test eax, eax
je 0x412fc6
lock inc dword [ebx]
jle 0x413275
mov ecx, ebx
jmp 0x412fc8
xor ecx, ecx
call fcn.00547380
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], eax
call fcn.00404b70
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x412fef
add ecx, 8
call fcn.00521270
mov ecx, 0x90
push 4
pop edx
call fcn.00406573
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov edx, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x6c]
movsd qword [eax + 0xc], xmm0
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x2c], ecx
movsd xmm0, qword [esp + 0x78]
movsd qword [eax + 0x24], xmm0
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x84]
movsd qword [eax + 0x30], xmm0
mov dword [eax + 0x3c], ecx
mov cl, byte [esp + 3]
mov byte [eax + 0x40], cl
mov cl, byte [esp + 2]
mov byte [eax + 0x41], cl
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [ecx + 0x18]
movsd qword [eax + 0x5c], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x54], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 0x44], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movsd qword [eax + 0x4c], xmm1
movups xmmword [eax + 0x64], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movups xmmword [eax + 0x74], xmm0
mov cl, byte [edx + 8]
mov byte [eax + 0x8c], cl
lea ecx, [esp + 0x90]
movsd xmm0, qword [edx]
mov edx, dword [esp + 0x44]
movsd qword [eax + 0x84], xmm0
push 0x593c1c
push eax
call fcn.0054feb0
pop eax
pop ecx
movzx eax, byte [esp + 0x90]
cmp eax, 4
jne 0x4130f6
mov ebx, dword [esp + 0x94]
lea ecx, [esp + 0x54]
jmp 0x41312f
movzx esi, byte [esp + 0x93]
movzx ecx, word [esp + 0x91]
mov ebx, dword [esp + 0x94]
lea edi, [esp + 0x54]
shl ecx, 8
shl esi, 0x18
or esi, ecx
mov ecx, edi
or esi, eax
call fcn.00487c98
lea ecx, [esp + 0x50]
call fcn.00405310
mov ecx, edi
xor edi, edi
lea edx, [esp + 0x90]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
call fcn.004062e8
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [ecx + edi + 8], eax
mov eax, dword [esp + 8]
add esi, 0xfffffff4
movsd xmm0, qword [esp + 0x54]
inc eax
movsd qword [ecx + edi], xmm0
add edi, 0xc
jmp 0x412eba
lea ebx, [ebx + esi - 0xc]
mov edx, dword [esp + 0x40]
lea esi, [esp + 0xfc]
mov ecx, 0x80000000
mov dword [esi + 0xc], ebx
call fcn.004767d9
mov ecx, esi
call fcn.0046359c
mov eax, dword [esp + 4]
imul esi, dword [esp + 8], 0xc
mov ebx, edi
add esi, eax
lea edx, [eax + 0xc]
test ebx, ebx
je 0x4131ff
mov ecx, dword [eax]
test ecx, ecx
je 0x4131fd
lea edi, [eax + 0xc]
mov dword [esp + 8], edi
mov edi, edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
call fcn.0051daa4
mov ecx, eax
call fcn.004049f6
mov eax, dword [esp + 8]
mov edx, edi
add ebx, 0xfffffff4
add edx, 0xc
jmp 0x4131ba
mov esi, edx
mov eax, dword [esp + 4]
sub eax, esi
add eax, dword [esp + 0xc]
push 0xc
pop ecx
xor edx, edx
div ecx
mov edi, eax
sub edi, 1
jb 0x413223
mov ecx, esi
call fcn.004058ae
add esi, 0xc
jmp 0x413212
cmp dword [esp + 0x28], 0
je 0x41323b
push 4
pop edx
mov ecx, dword [esp + 4]
push dword [esp + 0x24]
call fcn.00408833
pop eax
mov ecx, dword [ebp + 0x18]
call fcn.004051f6
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.00563c9c
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00563c9c
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.00563c9c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
call fcn.004341f0
xor ecx, ecx
mov edx, esi
inc ecx
call fcn.00434230