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

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x28]
lea eax, [ecx - 0x3524]
add ebx, 0xffffd104
push ebp
mov dword [esp + 0x14], eax
lea ebp, [ecx + 0x38]
push esi
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x628]
mov dword [esp + 0x24], eax
add esi, 0xffffd253
mov eax, dword [esp + 0x40]
add eax, 0xffffcbaf
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], eax
lea eax, [edx - 0x283]
mov edx, dword [esp + 0x44]
push edi
lea edi, [ecx - 0x25a]
mov dword [esp + 0x20], ebx
add ecx, 0xffffcadc
mov dword [esp + 0x14], edi
add edx, 0x541
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], ecx
cmp edx, eax
jle 0x10006655
mov esi, dword [esp + 0x38]
lea eax, [ebx + 0x3451]
cmp edx, eax
je 0x100063be
mov eax, dword [esi + 0x58]
sub eax, 0x3411
cmp dword [esi + 0x188], 0x2f82
mov dword [esi + 4], eax
jb 0x10006086
mov ecx, dword [esi + 0x108]
mov eax, dword [esi + 0x2c]
xor eax, dword [ecx + 0xa0]
xor eax, 0x3239
mov dword [ecx + 0xa0], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x1c4]
xor eax, 0x495
mov dword [esi + 0x168], 1
mov dword [esi], 0x10039008
cmp eax, 0x3233
jae 0x100060b7
mov eax, dword [esi + 0x70]
or eax, 0x3451
imul eax, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xa4]
add ecx, 0x310f
imul eax, dword [esi + 0x60]
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x80], 0x10039048
mov dword [esi + 0xf4], 0x10039008
imul eax, eax, 0x2ff7
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x98]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [esi + 0xe8]
shl ecx, 3
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x134]
imul eax, ecx
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0xe8], eax
mov eax, dword [ecx + 0x1c4]
xor eax, 0xbe
cmp eax, 0x2d89
jbe 0x1000613c
mov eax, dword [esi + 0x14c]
xor eax, dword [ecx + 0x14]
xor eax, 0x2dad
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0x178]
xor edx, edx
mov eax, dword [esi + 0x7c]
add eax, 0x31ce
add dword [ecx + 0x14c], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x1c4]
mov dword [esi + 0xf8], eax
sub ecx, 0x31ad
mov eax, dword [esi + 4]
div ecx
imul ecx, dword [esi + 0x134], 0x32ca
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x178]
mov dword [esi + 0x130], 0x20987c
mov dword [esi + 0x138], 0x83
mov dword [esi + 0x13c], 5
mov dword [eax + 0xe0], ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x3c]
or eax, 0x3239
mov dword [esi + 0xac], eax
lea eax, [ebx + 0x355c]
push eax
mov eax, dword [esp + 0x38]
add eax, 0x31ce
mov edx, dword [esp + 0x4c]
push eax
lea eax, [ecx + 0xbf]
mov dword [esi + 0x144], 2
push eax
lea eax, [ecx - 0x18d]
push eax
lea eax, [ecx - 0x372]
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [ecx - 0x2a1]
push eax
lea eax, [ecx - 0x283]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [ecx + 0x2f82]
push eax
lea eax, [edx + 0x24]
push eax
lea eax, [ebp - 0x329]
push eax
lea eax, [ecx + 0x2d9d]
mov ecx, dword [esp + 0x54]
push eax
push esi
lea eax, [ecx - 0x21e]
push eax
lea eax, [ecx - 0x6a4]
push eax
lea eax, [edx + 0x5e9]
push eax
mov eax, dword [esp + 0x64]
add eax, 0x86
push eax
call fcn.1000ac30
push 0x3233
push 0x2d9d
push 0x2f82
push esi
push 0x34dd
push 0x2dad
mov dword [esp + 0x94], eax
call fcn.1000c360
mov dword [esi + 0x10], eax
add esp, 0x58
mov eax, dword [esi + 0x190]
xor eax, 0x3233
add dword [esi + 0xa0], eax
mov eax, dword [esi + 0x108]
add eax, 0x14
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x1c4]
xor eax, 0x31b1
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x2c]
add eax, 0x2dad
or dword [esi + 0x8c], eax
lea eax, [esi + 0x134]
add dword [esi + 0xf0], eax
lea edx, [ecx + 0x10b]
lea eax, [edx - 0x1ea]
push eax
lea eax, [edi - 0xfc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
add eax, 0x2d89
push esi
push eax
lea eax, [ecx + 0x34dd]
push eax
lea eax, [ebx + 0x2d9d]
push eax
lea eax, [edx - 0x329]
push eax
lea eax, [edx - 0x565]
mov edx, dword [esp + 0x4c]
push eax
lea eax, [ebp - 0x7af]
push eax
lea eax, [edi + 0xa8]
push eax
lea eax, [edx - 0x342]
push eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffe5c
push eax
push edx
lea eax, [ecx + 0x31ce]
push eax
call fcn.10001960
push 0x3524
push 0x2d9d
push 0x3451
push esi
push 0x3451
push 0x2d9d
mov dword [esp + 0x7c], eax
call fcn.1000c360
mov ecx, dword [esi + 0x108]
add esp, 0x54
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x10c]
mov eax, dword [eax + 0x1e8]
add dword [esi + 0x120], 0xfffffcaa
xor eax, 0x2ff7
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x7c]
or eax, 0x3524
xor dword [ecx + 0x164], eax
mov eax, dword [esi + 0x178]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c4]
xor eax, 0x1c1c
cmp eax, dword [esi + 0x50]
jbe 0x100063be
mov eax, dword [esi + 0x190]
or eax, 0x2d9d
add dword [esi + 0x124], eax
lea eax, [ecx - 0x476]
cmp dword [esp + 0x34], eax
jg 0x100064d3
mov eax, dword [esi + 0x38]
xor edi, edi
mov eax, dword [eax + 0x58]
xor eax, 0x1e25f
jbe 0x10006476
mov eax, dword [esi + 0x104]
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x30], 0x124
mov dl, byte [edx + eax]
mov eax, dword [esi + 0x28]
xor dl, byte [ecx + edi]
mov byte [edi + eax], dl
cmp dword [esi + 0x140], 0x2ff7
ja 0x10006414
lea eax, [esi + 0x124]
xor dword [esi + 0x60], eax
mov eax, dword [esi + 0x58]
xor edx, edx
or eax, 0x3524
inc edi
add dword [esi + 0x134], eax
mov eax, dword [esi + 0x128]
sub eax, 0x2f82
xor dword [esi + 8], eax
mov eax, dword [esi + 0x178]
mov ecx, dword [eax + 0x84]
mov eax, dword [esi + 0x104]
add eax, 0xffffd264
add eax, ecx
div dword [esi + 4]
mov eax, dword [esi + 0x74]
xor eax, 0x2f82
mov dword [esi + 0x104], edx
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x58]
xor eax, 0x1e25f
cmp edi, eax
jb 0x100063e1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x48]
mov dword [esi + 0xa8], eax
lea eax, [ecx - 0x187]
push eax
push esi
lea eax, [ebx + 0x2f82]
push eax
lea eax, [ecx - 0x2a1]
push eax
mov eax, dword [esp + 0x38]
add eax, 0x8c
push eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffae3
push eax
push edx
lea eax, [ebx + 0x3233]
push eax
lea eax, [edx + 0x79b]
push eax
call fcn.10008a00
add esp, 0x24
lea eax, [ebp - 0x7f]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edx, dword [esi + 0x74]
mov eax, ebp
or eax, 0x3451
mov dword [esp + 0x44], edx
xor eax, 0x3233
cmp edx, eax
jge 0x100067ff
nop
mov eax, dword [esi + 0x40]
sub eax, 0x6498
cmp edi, eax
je 0x100065fb
mov eax, dword [esp + 0x34]
add eax, ecx
add ebp, eax
mov eax, dword [esi + 0x134]
or eax, 0x3233
add dword [esi + 0x1b8], eax
mov eax, ebx
xor eax, 0x3239
sub eax, dword [esi + 0x124]
imul eax, dword [esi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x120]
sub eax, 0x3239
imul eax, dword [esi + 0x140]
or ebx, eax
mov eax, dword [esi + 0x108]
xor eax, 0x2efc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x20]
or eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
add ecx, 0xffffd277
sub eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 0xe0]
add ecx, 0x10b
xor eax, 0x3233
push eax
mov eax, dword [esi + 0x194]
or eax, 0x3233
sub eax, 0x31ce
push eax
mov eax, dword [esp + 0x1c]
add eax, ebx
push eax
mov eax, dword [esi + 0x134]
or eax, ebx
push eax
mov eax, dword [esi + 0x164]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
imul eax, dword [esp + 0x10], 0x2d89
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
sub eax, dword [esi + 0x1b8]
add eax, 0x3372
add ebx, eax
mov eax, dword [esp + 0x28]
sub eax, ebp
add eax, 0x32ca
add dword [esi + 0x140], eax
mov eax, dword [esp + 0x48]
add eax, 0x3a65
add eax, ebx
imul eax, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x70]
add eax, ebx
or ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esi + 0x6c]
sub eax, 0x2d9d
or eax, 0x2ff7
cmp dword [esi + 0xd8], eax
ja 0x1000662f
mov eax, dword [esi + 0x160]
add eax, dword [esi + 0x4c]
or eax, ebp
or dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10c]
and eax, dword [esp + 0x28]
and eax, 0x3524
add edi, eax
mov eax, ebp
add edx, 2
or eax, 0x3451
mov dword [esp + 0x44], edx
xor eax, 0x3233
cmp edx, eax
jl 0x100064f0
pop edi
pop esi
lea eax, [ebp - 0x7f]
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, ecx
and eax, edx
add eax, 0x32ca
cmp edi, eax
je 0x100067bc
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 8]
mov eax, edi
xor eax, dword [esp + 0x34]
cmp dword [edx + 0x14], eax
jb 0x100067ff
mov eax, dword [edx + 0x134]
mov ecx, eax
xor ecx, dword [esp + 0x3c]
and eax, 0x32ca
mov ebx, dword [edx + 0x1b4]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
sub ecx, dword [edx + 0xac]
add ecx, esi
imul ebp, dword [edx + 0x190], 0x355c
mov dword [esp + 0x44], ecx
or esi, 0x2dad
mov ecx, dword [edx + 0xe8]
sub ecx, edi
xor esi, dword [edx + 0x1e8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
add ecx, 0x10b
imul edi, eax, 0x2f82
imul ebx, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [edx + 0x1c4]
sub edx, 0x684f
mov eax, dword [ecx + 0x128]
xor eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add ecx, 0x10b
add ecx, dword [esp + 0x1c]
add eax, 0xffffcdcd
imul ecx, dword [esp + 0x1c]
imul ebx, dword [esp + 0x30]
and ecx, eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
and eax, 0x2d89
push eax
mov eax, dword [esp + 0x48]
add ecx, 0x10b
push dword [eax + 0x1b8]
imul eax, ecx, 0x2ff7
push edx
push esi
xor eax, ecx
push eax
imul eax, ecx, 0x3372
mov ecx, dword [esp + 0x68]
push edi
add ecx, 0x541
push eax
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov eax, ebp
or eax, ecx
push eax
push dword [esp + 0x68]
push dword [esp + 0x7c]
push dword [esp + 0x58]
call fcn.10003610
mov edx, dword [esp + 0x78]
add esp, 0x40
mov ecx, dword [edx + 0x15c]
and ecx, dword [edx + 0xf0]
xor ecx, dword [edx + 0x1e8]
xor ecx, 0x3524
mov dword [edx + 0x1e8], ecx
mov ecx, 0x2ff7
sub ecx, eax
mov eax, dword [edx + 0x8c]
add dword [edx + 0x60], ecx
and eax, 0x32ca
xor dword [edx + 0x120], eax
lea eax, [ebp - 0x7f]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 0xe8]
sub edx, dword [esp + 0x34]
mov eax, dword [edi + 0x7c]
and edx, 0x2f82
cmp eax, edx
jbe 0x100067ff
mov esi, dword [edi + 0x140]
or esi, dword [edi + 0x8c]
mov ecx, dword [edi + 0xf0]
nop dword [eax]
add eax, 4
sub ecx, esi
cmp eax, edx
ja 0x100067f0
mov dword [edi + 0xf0], ecx
pop edi
pop esi
lea eax, [ebp - 0x7f]
pop ebp
pop ebx
add esp, 0x14
ret