Function at 0x10046a6e
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100640df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
cmp byte [ebp + 0x28], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], edx
je 0x10046b6c
cmp byte [ebp + 0x20], 0
je 0x10046ab1
mov eax, dword [ebp + 0xc]
and dword [eax], 0
jmp 0x10047893
mov dword [esp + 0x10], 0x2630
cmp dword [esp + 0x10], 0x29e2
jle 0x10046b33
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, esi
mov dword [esp + 0x18], esi
mov ebx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
lea eax, [ebx + edi]
mov ebx, 0x1b9f
mov dword [esp + 0x34], eax
mov edi, eax
mov ecx, edi
mov eax, esi
shl eax, cl
mov ecx, 0x1007bbb8
cdq
push edx
push eax
call fcn.1000cbc0
dec edi
dec ebx
jne 0x10046ae7
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, 0x15e
jl 0x10046ad9
inc edi
mov dword [esp + 0x18], edi
push 0
pop esi
cmp edi, 0x793f
jl 0x10046acf
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x6feb
jl 0x10046ac9
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x10046b4a
push ecx
push 0xd0a
xor dl, dl
call fcn.10046941
pop ecx
pop ecx
cmp dword [esp + 0x10], 0x22eb
jge 0x10047893
mov edx, str.ipkshe_vakcyiay_fnngt_njrfhlgm_hngudfky_onfxaj_vnyv
mov ecx, 0x1007bbb8
call fcn.1000ee07
jmp 0x10047893
cmp byte [ebp + 0x10], 0
je 0x100477f6
push 1
lea ecx, [esp + 0xb0]
call fcn.1000cdd8
xor ebx, ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x18], 0x2617
cmp dword [esp + 0x18], 0x299d
jle 0x10046c14
xor esi, esi
mov edi, ebx
inc esi
mov eax, ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
mov dword [esp + 0x14], ebx
add eax, edi
and eax, ecx
lea ecx, [esp + 0x148]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10046bcd
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push ebx
push esi
lea ecx, [esp + 0x150]
call fcn.1000d197
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x7676
jl 0x10046bb0
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x565f
jl 0x10046baa
inc edi
cmp edi, 0x69df
jl 0x10046ba4
push ebx
push ebx
call dword [sym.imp.USER32.dll_FlashWindow]
or edi, 0xffffffff
mov dword [esp + 0x34], edi
cmp dword [esp + 0x18], 0x2325
jge 0x10046c30
push str.mtbs_dooeuxqi_kbbxk_rmkgliht_uthitxre_oaf_qnsafbrio
call fcn.1004d87c
pop ecx
mov dword [esp + 0x10], 0xdd013d0b
lea ecx, [esp + 0x84]
mov dword [esp + 0x2c], 0x1355fff
xor eax, eax
mov dword [esp + 0x18], 0x71a05132
inc eax
mov dword [esp + 0x28], 0xc9a130df
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x60], 4
mov dword [esp + 0x20], edi
push eax
call fcn.1000cdd8
mov byte [esp + 0x184], 1
mov dword [esp + 0x14], 0xb7dc
mov dword [esp + 0x10], 6
mov dword [esp + 0x10], 0x66a4358b
mov dword [esp + 0x24], ebx
jmp 0x10046cb0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xac]
mov dword [eax + ecx*4], 0x5950
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 1
jl 0x10046c9a
mov dword [esp + 0x24], ebx
jmp 0x10046cd0
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0xb8], 0x74ca7790
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jl 0x10046cbd
lea eax, [esp + 0x84]
mov edx, 0x32be
push eax
push ecx
push 0x1901
lea eax, [esp + 0x30]
push eax
push ebx
push ecx
push ecx
push 0x2571
mov ecx, 0x6624
call fcn.10043b7b
mov eax, dword [esp + 0x54]
add esp, 0x20
inc dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov edx, 0xffff5bef
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xac]
mov dword [esp + 0xbc], edx
mov esi, dword [eax]
mov eax, dword [esp + 0x84]
cmp dword [eax], edx
setg cl
xor edx, edx
cmp ecx, esi
setne dl
xor eax, eax
cmp edx, esi
setg al
cmp eax, dword [esp + 0x14]
jge 0x10046d66
cmp dword [esp + 0x10], ebx
je 0x10046d66
xor ecx, ecx
inc ecx
jmp 0x10046d68
mov ecx, ebx
xor eax, eax
cmp ecx, 0xfffffffc
setge al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
cmp dword [eax], ebx
jne 0x10046d96
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x84]
cmp ecx, dword [eax]
jne 0x10046d96
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
cmp edx, eax
mov eax, dword [esp + 0xac]
setg cl
cmp ecx, dword [eax]
jge 0x10046dc3
cmp dword [eax], 0
je 0x10046dc3
xor eax, eax
inc eax
jmp 0x10046dc5
mov eax, ebx
lea ecx, [edx + 0x1f9d3f58]
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov eax, dword [esp + 0xb8]
setge dl
xor ecx, ecx
sub edx, 0x7c80
cmp edx, eax
setge cl
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x84]
call fcn.1000ce5b
lea ecx, [esp + 0xac]
call fcn.1000ce5b
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
push ebx
mov edx, 0x33fb
mov dword [esp + 0x188], 2
mov ecx, 0x2833
call fcn.10045795
mov eax, dword [ebp + 0x2c]
xor esi, esi
inc esi
pop ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], 0xfb023ed1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2c], 0x8e1b8814
mov dword [esp + 0x2c], 0xfffffff7
mov dword [esp + 0x2c], 0x9b4e94f9
mov dword [esp + 0x2c], 0xee28fdeb
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2c], 9
mov dword [esp + 0x18], 0x426a
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], ebx
jmp 0x10046e9d
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x10c], 0x8f90a3cf
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10046e8a
mov dword [esp + 0x20], 0xe2b
cmp dword [esp + 0x20], 0xe70
jle 0x10046f0d
mov edi, ebx
mov ecx, ebx
mov dword [esp + 0x14], ebx
mov eax, edi
cdq
idiv ecx
lea ecx, [esp + 0x118]
mov eax, edx
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10046ede
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push ebx
push esi
lea ecx, [esp + 0x120]
call fcn.1000d197
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x5260
jl 0x10046ebe
inc edi
cmp edi, 0x5396
jl 0x10046eb8
inc dword [esp + 0x18]
mov edi, 0x5f88
mov dword [esp + 0x10c], edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
sub ecx, 0xe05d
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setne dl
sub edx, edi
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x20], 0xd8e
jge 0x10046f57
push str.anjtfrfmv_gsgrbcltp_wqe_iyoxudr
call fcn.1004d87c
pop ecx
mov byte [esp + 0x1f], bl
mov dword [esp + 0x18], 0x2437
cmp dword [esp + 0x18], 0x2656
jle 0x10046fd7
mov ecx, ebx
mov dword [esp + 0x30], ebx
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x14], ebx
xor eax, edi
xor eax, ecx
lea ecx, [esp + 0x130]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10046f98
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push ebx
push esi
lea ecx, [esp + 0x138]
call fcn.1000d197
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x1d91
jl 0x10046f7b
inc edi
cmp edi, 0x3862
jl 0x10046f75
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x1768
jl 0x10046f73
cmp byte [esp + 0x1f], 0
je 0x10046ff0
push 0x386c
xor dl, dl
mov ecx, 0x79ac
call fcn.10044c36
pop ecx
cmp dword [esp + 0x18], 0x2061
jge 0x10047005
push str.oosgaq_llhbifkqw_ttq_irry_gww_qqasnom_vhkahbd_uiygamoyp_dxa_knvkr_svgh_wmjyi_erxpkmpq
call fcn.1004d87c
pop ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [edx + 0x10]
cmp dword [ecx + 0x14], 8
mov dword [esp + 0x28], eax
jb 0x1004701d
mov eax, dword [ecx]
jmp 0x1004701f
mov eax, ecx
push dword [ecx + 0x10]
mov ecx, edx
push ebx
push eax
call fcn.100432ba
mov edi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], edi
cmp edi, dword [esp + 0x28]
jae 0x10047578
mov dword [esp + 0x48], 0x9841b3c6
mov dword [esp + 0x94], 5
mov dword [esp + 0x90], esi
mov dword [esp + 0x48], ebx
jmp 0x1004710d
push 3
lea ecx, [esp + 0xe8]
call fcn.1000cdd8
mov byte [esp + 0x184], 3
lea eax, [esp + 0xe4]
push 0x3206
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0xfc]
push eax
mov dword [esp + 0xa8], 7
mov edx, 0x5a4
mov dword [esp + 0xac], ebx
push ebx
call fcn.100451cf
add esp, 0xc
lea eax, [esp + 0xe4]
lea edx, [esp + 0x94]
push esi
push ecx
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.100436d7
add esp, 0x20
mov byte [esp + 0x184], 2
lea ecx, [esp + 0xe4]
call fcn.1000ce5b
dec dword [esp + 0x48]
cmp dword [esp + 0x48], 0xffffffe8
jne 0x10047062
push 0x2e7
push esi
call fcn.10044aa0
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x10047222
cmp eax, dword [esp + 0x58]
je 0x100471e9
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x58]
push 0x3b37
push ecx
push eax
push 0x18cb
push esi
push ecx
push ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x98]
call fcn.10043b7b
mov dword [esp + 0x40], 0x460
add esp, 0x20
cmp dword [esp + 0x20], 0x5de
jle 0x100471cc
mov dword [esp + 0x18], ebx
mov edi, ebx
mov ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov eax, edi
cdq
idiv ecx
mov ecx, 0x1007bbb8
or edx, ebx
mov eax, edx
cdq
push edx
push eax
call fcn.1000cbc0
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x3a5e
jl 0x10047189
inc edi
push 0
pop ebx
cmp edi, 0x193b
jl 0x1004717f
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x4f4
jl 0x1004717d
cmp dword [esp + 0x20], 0x166
jge 0x100471e5
mov edx, str.pnnfyrxdl_akbod_ypedxyx_fglyyj_vkhksmdau_agrt_ayy_yeo_iysnxo_qqmpu_ddsfp_btg
mov ecx, 0x1007bbb8
call fcn.1000ee07
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edi, dword [esp + 0x60]
add edi, eax
mov dword [esp + 0x58], edi
cmp dword [ecx + 0x14], 8
jb 0x10047200
mov eax, dword [ecx]
jmp 0x10047202
mov eax, ecx
push dword [ecx + 0x10]
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.100432ba
mov dword [esp + 0x30], eax
cmp edi, 0xffffffff
jne 0x10047035
jmp 0x10047578
mov dword [esp + 0x14], 0x309b
cmp dword [esp + 0x14], 0x32b4
jle 0x10047260
mov edi, ebx
mov dword [esp + 0x28], ebx
mov eax, ebx
mov ecx, 0x1007bbb8
xor eax, edi
cdq
push edx
push eax
call fcn.1000cbc0
inc ebx
cmp ebx, 0x53f0
jl 0x1004723a
inc edi
push 0
pop ebx
cmp edi, 0x445
jl 0x10047236
mov dword [esp + 0x6c], 7
lea ecx, [esp + 0xc0]
mov dword [esp + 0x3c], 0x4074dd03
mov dword [esp + 0x4c], 0xf0aa6e6f
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x74], 9
mov dword [esp + 0x44], 0xb5cf1c94
push 2
call fcn.1000cdd8
push ecx
push esi
push ecx
lea eax, [esp + 0xcc]
mov byte [esp + 0x190], 4
push eax
push ecx
mov dword [esp + 0x3c], 0xa7967268
lea edx, [esp + 0x108]
mov ecx, 0x3c08
call fcn.10045733
add esp, 0x10
lea eax, [esp + 0x40]
lea edx, [esp + 0x70]
xor cl, cl
push eax
push 0x1992
call fcn.10043d8e
mov dword [esp + 0x48], esi
xor edx, edx
mov eax, dword [esp + 0x48]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
mov eax, dword [esp + 0x5c]
setne dl
sub edx, eax
add edx, 0x1188
mov dword [esp + 0x74], edx
je 0x10047368
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x1004734f
sub esp, 0x10
push ebx
push ecx
push 0x52a9
push ecx
push ecx
call fcn.10043ad6
add esp, 0x24
sub esp, 0x10
lea eax, [esp + 0x54]
push esi
push ecx
push eax
push ecx
push ecx
call fcn.10043ad6
add esp, 0x24
jmp 0x1004742d
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x9c], 0x97512302
mov dword [esp + 0x44], ebx
jmp 0x10047422
push 2
lea ecx, [esp + 0xdc]
call fcn.1000cdd8
push 0x14e6
push 0x74dc
push 1
push 0x6b01
lea eax, [esp + 0xe8]
mov byte [esp + 0x194], 5
push 1
push eax
lea edx, [esp + 0x108]
mov ecx, 0xdee
call fcn.100439ac
add esp, 0x14
lea eax, [esp + 0xdc]
xor esi, esi
lea edx, [esp + 0x50]
inc esi
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xb8]
push eax
push esi
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.10043d13
add esp, 0x24
mov byte [esp + 0x184], 4
lea ecx, [esp + 0xd8]
call fcn.1000ce5b
inc dword [esp + 0x44]
cmp dword [esp + 0x44], 4
je 0x10047383
lea ecx, [esp + 0xc0]
mov byte [esp + 0x184], 2
call fcn.1000ce5b
cmp dword [esp + 0x14], 0x3056
jge 0x1004745a
mov edx, str.kmhbm_lwvhqfim_mdgkxgsox_bfraeyak_llkegejm_itxab
mov ecx, 0x1007bbb8
call fcn.1000ee07
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [esp + 0x80]
mov edx, 0x52e5
push 0x3bc5
push eax
call fcn.10048075
mov dword [esp + 0x20], 0xffffffff
xor ecx, ecx
mov dword [esp + 0x1c], ebx
add esp, 0x10
mov dword [esp + 0x14], 0xc6b79df9
inc ecx
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x14], 0x5a7dd9ae
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], 2
jge 0x100474be
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x64], ecx
inc dword [esp + 0xc]
jmp 0x100474a9
mov dword [esp + 0xc], ebx
jmp 0x100474d3
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x100], ecx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x100474c4
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x14], ebx
je 0x100474fc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x68], ebx
jne 0x10047504
mov ecx, ebx
imul eax, ecx, 0xe87f
xor edx, edx
cmp eax, 0x19a6
setne dl
sub edx, dword [esp + 0x68]
mov eax, dword [esp + 0x68]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
add eax, 0x426ed6bb
cmp eax, 0xb16e
jge 0x10047546
cmp dword [esp + 0x68], ebx
jne 0x10047546
mov ecx, ebx
jmp 0x10047549
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x10]
imul eax, ecx
cmp eax, dword [esp + 0x10]
jge 0x10047560
cmp dword [esp + 0xc], ebx
jne 0x10047560
mov eax, ebx
jmp 0x10047563
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x10], 0x18101bc
mov dword [esp + 0xc], ebx
jmp 0x1004759e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x50], 0xe8cff0ea
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004758e
mov dword [esp + 0x50], ebx
jmp 0x10047767
mov dword [esp + 0xc], 1
mov dword [esp + 0x20], 0x4a6b2c4e
mov dword [esp + 0x34], 0xfffffff9
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x100475d6
call fcn.100478a8
cmp dword [esp + 0xc], ebx
je 0x100475f3
mov dword [esp + 0x28], 1
cmp dword [esp + 0x28], ebx
jne 0x10047772
jmp 0x10047763
mov dword [esp + 0x40], 4
lea ecx, [esp + 0xcc]
push 3
call fcn.1000cdd8
push ecx
lea eax, [esp + 0x100]
mov byte [esp + 0x188], 6
push eax
push ecx
mov dl, 1
lea ecx, [esp + 0xd8]
call fcn.10046903
mov dword [esp + 0x18], ebx
add esp, 0xc
cmp dword [esp + 0xc], 0x18
jne 0x1004774f
mov esi, dword [esp + 0xcc]
xor ecx, ecx
mov dword [esp + 0x18], 9
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x40]
setns cl
cmp ecx, 0xfffb
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0xc]
setle dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
test eax, eax
je 0x1004768f
cmp dword [esp + 0x14], ebx
je 0x1004768f
xor eax, eax
inc eax
jmp 0x10047691
mov eax, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x50], ebx
je 0x100476b8
lea eax, [esp + 0x3a]
mov byte [esp + 0x3a], bl
push eax
mov ecx, 0x1a72
call fcn.10046a20
pop ecx
jmp 0x10047740
mov dword [esp + 0x10], ebx
jmp 0x100476ce
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x100476be
mov eax, dword [esp + 0x70]
xor edx, edx
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov eax, dword [esp + 0x20]
setge dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x70]
setl bl
xor ecx, ecx
cmp ebx, eax
setne cl
imul eax, ecx, 0x9898
test eax, eax
jne 0x10047718
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
xor ebx, ebx
push ecx
mov dword [esp + 0x14], eax
mov edx, 0x4907
lea eax, [esp + 0x3f]
mov byte [esp + 0x3f], bl
push 0x3169
push eax
mov cl, 1
call fcn.10043d8e
add esp, 0xc
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x18
je 0x10047642
lea ecx, [esp + 0xcc]
mov byte [esp + 0x184], 2
call fcn.1000ce5b
inc dword [esp + 0x50]
cmp dword [esp + 0x50], 3
jle 0x100475ae
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
jne 0x1004779e
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x50], ebx
jne 0x1004779e
cmp dword [esp + 0x10], ebx
jne 0x1004779e
cmp dword [esp + 0x54], ebx
je 0x100477a1
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [esp + 0x14]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0x3c53d173
mov ecx, dword [ebp + 0x34]
setne al
sub eax, 0xf302d78b
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x78]
push eax
call fcn.10048cb2
lea ecx, [esp + 0x78]
call fcn.100490be
jmp 0x10047893
mov dword [esp + 0x40], 0x22fc
cmp dword [esp + 0x40], 0x2628
push 0
pop esi
jle 0x10047879
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, esi
mov ebx, esi
mov ecx, esi
mov dword [esp + 0x34], esi
lea eax, [ebx + edi]
shl eax, cl
lea ecx, [esp + 0x160]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10047840
mov eax, dword [eax]
push eax
call fcn.1004d87c
pop ecx
push esi
push 1
lea ecx, [esp + 0x168]
call fcn.1000d197
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 0x4a05
jl 0x10047822
inc ebx
cmp ebx, 0x2ab8
jl 0x1004781c
inc edi
cmp edi, 0x5a02
jl 0x1004781a
cmp dword [esp + 0x40], 0x22b7
jge 0x1004788e
push str.igr_bhujqxm_vygoisw_ywpeql_anbbybbd_lwq_nnhrwix_ijwgpthb_aev_hfhgcgl_qvlcb_xfr_puubrq
call fcn.1004d87c
pop ecx
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret