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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1fa8
call fcn.1001fcd0
mov eax, dword [ebp + 8]
mov dword [esp + 0x1fa0], eax
mov dword [esp + 0x1f9c], ecx
mov eax, dword [esp + 0x1f9c]
mov ecx, 0x1014f9c4
mov dword [esp + 0x9c], eax
call fcn.1004c010
and eax, 0x2000
cmp eax, 0
jne 0x1004ad44
jmp 0x1004b7a8
mov dword [esp + 0x1f98], 0x80023
mov eax, dword [0x10150108]
mov ecx, dword [esp + 0x1fa0]
and ecx, 2
test ecx, ecx
mov edx, 0x80000010
cmove edx, ecx
or edx, 0x80023
mov ecx, esp
mov dword [ecx], edx
call eax
sub esp, 4
lea ecx, [esp + 0x2d0]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2c4], 0
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x2bc], 0
mov ecx, esp
lea edx, [esp + 0x2b8]
mov dword [ecx], edx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x98], eax
call fcn.100ecb40
sub esp, 4
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004ae03
jmp 0x1004b7b2
lea eax, [esp + 0x2b8]
mov ecx, esp
lea edx, [esp + 0x2b0]
mov dword [ecx], edx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x94], eax
call fcn.10007f20
sub esp, 4
lea eax, [esp + 0x2b0]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x94]
call fcn.100ad880
sub esp, 4
mov ecx, dword [0x101537c8]
mov edx, dword [0x101537c4]
mov esi, ecx
sub esi, 1
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl bl
or ah, bl
test ah, 1
mov byte [esp + 0x93], al
jne 0x1004ae8b
jmp 0x1004b7b2
mov al, byte [esp + 0x93]
test al, 1
jne 0x1004ae9f
jmp 0x1004b7a8
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004aedb
jmp 0x1004b7f7
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
cmp dword [eax + 0x14], 0
setne dl
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov esi, eax
sub esi, 1
imul eax, esi
and eax, 1
cmp eax, 0
sete dh
cmp ecx, 0xa
setl bl
or dh, bl
test dh, 1
mov byte [esp + 0x92], dl
jne 0x1004af34
jmp 0x1004b7f7
mov al, byte [esp + 0x92]
test al, 1
jne 0x1004b36c
jmp 0x1004af48
mov eax, esp
lea ecx, [esp + 0x12e0]
mov dword [eax], ecx
mov dword [eax + 8], 0x688
mov dword [eax + 4], 0
call fcn.10020350
mov dword [esp + 0x12e0], 0x688
mov eax, dword [0x10151140]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x8c], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
lea ebx, [esp + 0x12e0]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x8c]
call eax
sub esp, 0x10
cmp eax, 0
jne 0x1004afd1
mov dword [esp + 0x12e0], 0x248
mov eax, dword [0x10151c98]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x88], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
lea ebx, [esp + 0x12e0]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x88]
call eax
sub esp, 0x10
cmp eax, 0
jne 0x1004b2ac
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b062
jmp 0x1004b80c
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
mov ecx, 2
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 0x84], ecx
call fcn.100e4170
mov dword [esp + 0x2ac], eax
cmp dword [esp + 0x2ac], 0
setne dl
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov esi, eax
sub esi, 1
imul eax, esi
and eax, 1
cmp eax, 0
sete dh
cmp ecx, 0xa
setl bl
or dh, bl
test dh, 1
mov byte [esp + 0x83], dl
jne 0x1004b0e5
jmp 0x1004b80c
mov al, byte [esp + 0x83]
test al, 1
jne 0x1004b0f9
jmp 0x1004b2a7
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b135
jmp 0x1004b840
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x7c], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.100cd990
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x78], eax
call fcn.100ecb80
lea ecx, [esp + 0xa4]
mov edx, dword [esp + 0x78]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x2ac]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call eax
sub esp, 0xc
cmp eax, 0
setne bl
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bh
cmp ecx, 0xa
setl al
or bh, al
test bh, 1
mov byte [esp + 0x77], bl
jne 0x1004b1ef
jmp 0x1004b840
mov al, byte [esp + 0x77]
test al, 1
jne 0x1004b200
jmp 0x1004b22a
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
lea ecx, [esp + 0xa4]
add eax, 0x24
mov edx, esp
mov dword [edx], ecx
mov ecx, eax
call fcn.1005e800
sub esp, 4
mov dword [esp + 0x70], eax
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b266
jmp 0x1004b8bb
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b2a2
jmp 0x1004b8bb
jmp 0x1004b2a7
jmp 0x1004b2ac
mov eax, dword [0x10151854]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x6c], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
lea ebx, [esp + 0x12e0]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x6c]
call eax
sub esp, 0x10
cmp eax, 0
je 0x1004b367
mov eax, dword [esp + 0x12e8]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x68], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x12f0]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x64], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
lea ecx, [esp + 0x12e0]
add eax, 0x24
add ecx, 0x64
mov edx, esp
mov dword [edx], ecx
mov ecx, eax
call fcn.1005e800
sub esp, 4
mov dword [esp + 0x60], eax
jmp 0x1004b36c
mov eax, dword [esp + 0x1fa0]
and eax, 1
cmp eax, 0
je 0x1004b59a
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
add eax, 0x3c
mov ecx, eax
call fcn.100dfab0
cmp eax, 0
jne 0x1004b59a
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b3e2
jmp 0x1004b8c0
mov eax, esp
lea ecx, [esp + 0x2d0]
mov dword [eax], ecx
mov dword [eax + 8], 0xff8
mov dword [eax + 4], 0
call fcn.10020350
mov eax, dword [esp + 0x2cc]
mov dword [eax], 0x58
mov eax, dword [esp + 0x2cc]
mov dword [eax + 0x50], 0x7d0
mov eax, dword [0x101510e8]
mov ecx, dword [esp + 0x2cc]
lea edx, [esp + 0x2b8]
mov dword [esp + 0x5c], ecx
mov ecx, edx
mov dword [esp + 0x58], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
mov ebx, dword [esp + 0x5c]
mov dword [edi + 0x10], ebx
lea edx, [esp + 0x2c0]
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x58]
call eax
sub esp, 0x14
cmp eax, 0
setne al
mov ecx, dword [0x101537c8]
mov edx, dword [0x101537c4]
mov esi, ecx
sub esi, 1
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl cl
or ah, cl
test ah, 1
mov byte [esp + 0x57], al
jne 0x1004b4be
jmp 0x1004b8c0
mov al, byte [esp + 0x57]
test al, 1
jne 0x1004b4cf
jmp 0x1004b51d
mov eax, dword [esp + 0x2c0]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x50], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x1c], ecx
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
add eax, 0x3c
mov ecx, dword [esp + 0x2cc]
add ecx, 0x54
mov edx, esp
mov dword [edx], ecx
mov ecx, eax
call fcn.1005e800
sub esp, 4
mov dword [esp + 0x4c], eax
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b559
jmp 0x1004b95a
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b595
jmp 0x1004b95a
jmp 0x1004b59a
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b5d6
jmp 0x1004b95f
mov eax, dword [esp + 0x1fa0]
and eax, 2
cmp eax, 0
setne cl
mov eax, dword [0x101537c8]
mov edx, dword [0x101537c4]
mov esi, eax
sub esi, 1
imul eax, esi
and eax, 1
cmp eax, 0
sete ch
cmp edx, 0xa
setl bl
or ch, bl
test ch, 1
mov byte [esp + 0x4b], cl
jne 0x1004b62a
jmp 0x1004b95f
mov al, byte [esp + 0x4b]
test al, 1
jne 0x1004b63b
jmp 0x1004b705
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
cmp dword [eax + 0x20], 0
jne 0x1004b705
mov dword [esp + 0x12c8], 0x18
mov eax, dword [0x101502f0]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x44], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
lea ebx, [esp + 0x12c8]
mov dword [edi + 0x10], ebx
lea ebx, [esp + 0x2bc]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x44]
call eax
sub esp, 0x14
cmp eax, 0
je 0x1004b700
mov eax, dword [esp + 0x12d0]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x40], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
add eax, 0x54
mov ecx, dword [esp + 0x12d4]
mov edx, esp
mov dword [edx], ecx
mov ecx, eax
call fcn.1005e800
sub esp, 4
mov dword [esp + 0x3c], eax
jmp 0x1004b705
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b741
jmp 0x1004b964
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x1004b77d
jmp 0x1004b964
jmp 0x1004b782
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
mov dword [eax + 4], 0
lea ecx, [esp + 0x2b8]
call fcn.1004c670
sub esp, 8
jmp 0x1004adc7
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [esp + 0x2b8]
mov ecx, esp
lea edx, [esp + 0x2b0]
mov dword [ecx], edx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
call fcn.10007f20
sub esp, 4
lea eax, [esp + 0x2b0]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
call fcn.100ad880
sub esp, 4
mov byte [esp + 0x37], al
jmp 0x1004ae03
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
mov dword [esp + 0x30], eax
jmp 0x1004aedb
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
mov ecx, 2
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 0x2c], ecx
call fcn.100e4170
mov dword [esp + 0x2ac], eax
jmp 0x1004b062
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x28], eax
call fcn.100ecb80
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x2b8]
call fcn.100ecb80
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.100cd990
lea ecx, [esp + 0x2b8]
mov dword [esp + 0x24], eax
call fcn.100ecb80
lea ecx, [esp + 0xa4]
mov edx, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x2ac]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call eax
sub esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x1004b135
jmp 0x1004b266
mov eax, esp
lea ecx, [esp + 0x2d0]
mov dword [eax], ecx
mov dword [eax + 8], 0xff8
mov dword [eax + 4], 0
call fcn.10020350
mov eax, dword [esp + 0x2cc]
mov dword [eax], 0x58
mov eax, dword [esp + 0x2cc]
mov dword [eax + 0x50], 0x7d0
mov eax, dword [0x101510e8]
mov ecx, dword [esp + 0x2cc]
lea edx, [esp + 0x2b8]
mov dword [esp + 0x1c], ecx
mov ecx, edx
mov dword [esp + 0x18], eax
call fcn.100ecb80
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [esp + 0x9c]
mov esi, dword [edx + 0x2d8]
mov edi, esp
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x10], ebx
lea edx, [esp + 0x2c0]
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], esi
mov eax, dword [esp + 0x18]
call eax
sub esp, 0x14
mov dword [esp + 0x14], eax
jmp 0x1004b3e2
jmp 0x1004b559
jmp 0x1004b5d6
jmp 0x1004b741