Function at 0x10051100
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [0x100d16b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, esp
mov dword [eax + 4], 0x10
mov dword [eax], 6
call fcn.10042760
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], eax
cmp dword [ebp + 0xc], 0
jne 0x1005151c
mov eax, dword [0x100d0ad0]
add eax, dword [0x100d0ad4]
and eax, 0x129184a0
sub eax, 0x85cfa0f5
xor eax, 0xd9942590
sub eax, 0x15c85128
imul eax, eax, 0x2817739d
sub eax, 0x465dc7f0
add eax, 0x95a0e69e
and eax, 0xd4e9d205
mov ecx, 0x4b701033
xor edx, edx
div ecx
add eax, 0x6e1a1f35
xor eax, 0xf7eb00a2
add eax, 0x892f55c1
imul eax, eax, 0x7d1a58c9
or eax, 0x39742751
xor eax, 0x6b11f31
and eax, 0x57969be4
sub eax, 0xacaa25b7
imul eax, eax, 0xa5a99349
and eax, 0xdb5e0289
mov ecx, 0x93339efb
xor edx, edx
div ecx
xor eax, 0x36a1d91a
sub eax, 0xb7b8f36
imul eax, eax, 0x26229447
imul eax, eax, 0xe6231a08
imul eax, eax, 0x21eaaf2
add eax, 0x34e70588
add eax, 0x157c6f75
sub eax, 0x274058e2
or eax, 0x73fd4dcf
add eax, 0xe7770b5b
xor eax, 0xc4ab093a
add eax, 0xd487d06e
add eax, 0xf7e3f591
xor eax, 0xf28b65f8
and eax, 0x2a05297c
mov ecx, 0xeb6ddc66
xor edx, edx
div ecx
add eax, 0xd02d4301
imul eax, eax, 0xb5930872
imul eax, eax, 0xecf9e5a3
sub eax, 0xcf78a178
mov ecx, 0xb0a7ed59
xor edx, edx
div ecx
and eax, 0xe8f900ad
or eax, 0xc93ac73
or eax, 0x10b457c7
add eax, 0x6fb49fcf
and eax, 0x70824c8c
xor eax, 0x55069537
add eax, 0xfc67dc41
sub eax, 0xe0eefe51
xor eax, 0x8a305fd
imul eax, eax, 0xeca078f5
add eax, 0x74a60b80
or eax, 0xd3067652
imul eax, eax, 0x345fe126
add eax, 0xa073ddbb
add eax, 0x1597fcef
imul eax, eax, 0xb58f938d
sub eax, 0x475a8ef9
xor eax, 0x60b78a93
sub eax, 0x3efef6db
sub eax, 0x3a0003e
mov ecx, 0x495a2bd8
xor edx, edx
div ecx
mov ecx, 0x1acf6998
xor edx, edx
div ecx
xor eax, 0x4308c68b
imul eax, eax, 0x9d45cac4
imul eax, eax, 0x5935e433
xor eax, 0x9a860e30
xor eax, 0x11f06e92
and eax, 0x10cd9c03
sub eax, 0x2620ba16
imul eax, eax, 0xd4d4892e
mov ecx, 0x16601136
xor edx, edx
div ecx
cmp eax, 0x2cf47eb5
ja 0x1005192b
mov eax, dword [0x100d0ad8]
imul eax, dword [0x100d0adc]
xor eax, 0xbb8a186a
imul eax, eax, 0xca39dc78
add eax, 0x4d37a9af
add eax, 0xcb0bb1bd
and eax, 0x5a4daebe
sub eax, 0x8de4755e
sub eax, 0x850c4748
add eax, 0x699120a8
and eax, 0x923c775a
and eax, 0x3b76e3b4
imul eax, eax, 0xaba00f9b
add eax, 0x37906a1b
sub eax, 0x1fccac0d
or eax, 0x29e7cbc4
and eax, 0xb503062d
mov ecx, 0xb437447c
xor edx, edx
div ecx
imul eax, eax, 0x3c62e0f1
or eax, 0x4916be41
and eax, 0xc07f3eed
and eax, 0x1a8c46c
or eax, 0xceef0c9
xor eax, 0x33f86689
and eax, 0x9d41f9ff
xor eax, 0x814f1497
mov ecx, 0x22e1375f
xor edx, edx
div ecx
or eax, 0x77ff092
add eax, 0x3abab9fc
imul eax, eax, 0xfa14b8a6
or eax, 0x42622e29
or eax, 0xff45aec9
xor eax, 0xe8875cfd
imul eax, eax, 0x172f95db
mov ecx, 0x6e3aa670
xor edx, edx
div ecx
xor eax, 0x60098937
imul eax, eax, 0x97925b18
or eax, 0xc2a45c19
add eax, 0x744f3cf7
imul eax, eax, 0x6248f471
sub eax, 0x72be2c2e
xor eax, 0x23ede0f5
and eax, 0x42242730
and eax, 0xd7c82f7c
xor eax, 0x5490a0ac
mov ecx, 0xb7e767e1
xor edx, edx
div ecx
or eax, 0xd9146a5c
or eax, 0x1acefae2
xor eax, 0x7e0a1b2c
sub eax, 0x82bfe87d
or eax, 0x826a4ae3
and eax, 0x531a4203
and eax, 0x98e36102
imul eax, eax, 0x8a90efa4
mov ecx, 0x123c3fc5
xor edx, edx
div ecx
xor eax, 0x7a138cc8
sub eax, 0xa9c39d0
and eax, 0x4abde60e
or eax, 0x5662f5a1
imul eax, eax, 0x28c6eb6f
xor eax, 0x2034eac9
mov ecx, 0xcdfe9282
xor edx, edx
div ecx
sub eax, 0x7472cd7f
sub eax, 0x8f8f17a9
xor eax, 0xd4567b3a
mov ecx, 0xbc54f2df
xor edx, edx
div ecx
sub eax, 0x82da984f
and eax, 0x1a43ff5e
imul eax, eax, 0x93b2ecdd
sub eax, 0x3b1ee68f
or eax, 0x5db62eac
sub eax, 0x52f043a
or eax, 0x5bc43cec
or eax, 0x82a5d0d9
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
sub esp, 0xc
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
sub esp, 4
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10099e70
lea ecx, [ebp - 0x108]
lea eax, [0x100c448a]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10099e80
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10099e80
mov eax, dword [ebp - 0x220]
cmp eax, 0x9d84cb73
jb 0x1005192b
jmp 0x10051531
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10099e70
mov eax, esp
lea ecx, [ebp - 0x108]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0x21c], eax
mov eax, esp
mov dword [eax + 4], 0x1a
mov dword [eax], 0x14
call fcn.1000d990
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], eax
sub eax, 0xffffffff
je 0x1005158d
jmp 0x10051579
mov eax, dword [ebp - 0x224]
sub eax, 0x10
je 0x1005159c
jmp 0x100515ab
mov dword [ebp - 0x210], 2
jmp 0x100515b5
mov dword [ebp - 0x210], 1
jmp 0x100515b5
mov dword [ebp - 0x210], 0
mov eax, dword [0x100d0ae0]
xor edx, edx
div dword [0x100d0ae4]
add eax, 0x9a429a03
mov ecx, 0xe26f99db
xor edx, edx
div ecx
mov ecx, 0xc971a5fa
xor edx, edx
div ecx
xor eax, 0x97c38152
and eax, 0x7ddf851c
xor eax, 0xc6c8e401
or eax, 0xaf0dda7c
sub eax, 0xbace7295
or eax, 0xc7e1eb7e
xor eax, 0x16717571
and eax, 0xf915982c
mov ecx, 0x476d7b7c
xor edx, edx
div ecx
and eax, 0x10592560
and eax, 0xfe822148
imul eax, eax, 0xa7a160bc
xor eax, 0xd641dc7c
and eax, 0xf006b6a3
or eax, 0x61f7f520
and eax, 0x11b6cf24
xor eax, 0x7e0eba73
imul eax, eax, 0x8a722698
sub eax, 0x3b94a5b8
imul eax, eax, 0x5e062785
xor eax, 0x316ffe5d
or eax, 0x53ce7286
or eax, 0xe2514641
or eax, 0x3976af80
and eax, 0xbf2f60f5
sub eax, 0x4186ce3c
mov ecx, 0x506f49b2
xor edx, edx
div ecx
sub eax, 0x30d7bc45
mov ecx, 0x454e793c
xor edx, edx
div ecx
imul eax, eax, 0x9b9729e5
and eax, 0xc2715725
imul eax, eax, 0x48493cd4
and eax, 0xc3fac7fb
or eax, 0x3787146
xor eax, 0x9c4cea4
xor eax, 0x8f2987cc
add eax, 0xe5f89152
sub eax, 0x1cd3963
mov ecx, 0x4b03c028
xor edx, edx
div ecx
and eax, 0xcfd55ad9
sub eax, 0xc817f5f6
xor eax, 0x17b85ce1
imul eax, eax, 0x9a1df2ea
xor eax, 0x9a23888b
xor eax, 0x71179c54
imul eax, eax, 0x86a04aaf
sub eax, 0x4a69b81c
add eax, 0x972f5929
sub eax, 0x14411085
sub eax, 0x45c5ace5
xor eax, 0xbbcfe05e
or eax, 0x80a6167d
mov ecx, 0x3017a9a2
xor edx, edx
div ecx
sub eax, 0x73f9534
or eax, 0x5bea1376
and eax, 0x72d164a3
or eax, 0x5f47387a
and eax, 0xa4415512
imul eax, eax, 0xdfa2b367
xor eax, 0x7f2b4b90
and eax, 0x30d4144b
and eax, 0x1baa63a0
mov ecx, 0x1ea2e57d
xor edx, edx
div ecx
imul eax, eax, 0x28143844
or eax, 0x58eb9c07
sub eax, 0x9ff59f14
add eax, 0x233419ec
imul eax, eax, 0xb2c1272b
add eax, 0x4b224171
cmp eax, 0x35553748
jb 0x100519ab
mov eax, dword [0x100d0ae8]
sub eax, dword [0x100d0aec]
and eax, 0x4429b68b
imul eax, eax, 0x248f54c5
xor eax, 0x566cf5c6
mov ecx, 0xd14bb61e
xor edx, edx
div ecx
or eax, 0x8693e72d
or eax, 0x7f43d302
sub eax, 0x80d0a719
and eax, 0x7ee5e73a
xor eax, 0x82362520
or eax, 0x856c605a
add eax, 0xd9be4918
xor eax, 0x583c5604
imul eax, eax, 0xf762a87c
or eax, 0xdfce162d
imul eax, eax, 0x20eba446
sub eax, 0xc8b2a56e
xor eax, 0x95e49d8f
and eax, 0xd447d5c
add eax, 0x96c52d89
xor eax, 0x506f8b2e
or eax, 0xcf2ab6d8
add eax, 0x1a216c4b
add eax, 0x2ac515b
and eax, 0x5040c702
add eax, 0x969367a4
and eax, 0x16d213
mov ecx, 0x1a3928de
xor edx, edx
div ecx
mov ecx, 0x2481cdcf
xor edx, edx
div ecx
sub eax, 0xd24fb81c
xor eax, 0xedaf4cc6
and eax, 0x20afcacc
or eax, 0xbed990a0
imul eax, eax, 0x1d980fe0
or eax, 0xfedc4089
xor eax, 0xd105bf00
imul eax, eax, 0xf2ffbc1b
xor eax, 0xbe17b4c
xor eax, 0x54c9528b
imul eax, eax, 0xb317235d
sub eax, 0x4f5be249
mov ecx, 0x3731edce
xor edx, edx
div ecx
xor eax, 0x1755b165
imul eax, eax, 0x1925e914
imul eax, eax, 0xf3b51d49
imul eax, eax, 0x29d3bdeb
add eax, 0xbc43b045
and eax, 0xed3f4068
and eax, 0x9d078661
mov ecx, 0x4d66743c
xor edx, edx
div ecx
imul eax, eax, 0xff10e048
xor eax, 0xbe506ac9
and eax, 0xdc499b85
and eax, 0x95319418
add eax, 0x160f3efb
sub eax, 0x2df0cc6c
imul eax, eax, 0x4c3cff80
imul eax, eax, 0xa1b02e4
xor eax, 0x4a48fef9
and eax, 0x6976f591
add eax, 0x82508ee9
mov ecx, 0xacf64770
xor edx, edx
div ecx
and eax, 0x9bfce7cf
and eax, 0x890f1c74
or eax, 0x91de795c
mov ecx, 0x30098ec1
xor edx, edx
div ecx
imul eax, eax, 0x3976332
and eax, 0x4f218704
imul eax, eax, 0xdd53da48
and eax, 0xfde6718c
and eax, 0xa55d3357
and eax, 0x98f969b6
add eax, 0x9084cc8a
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x228], ecx
cmp eax, 0x3fc13665
je 0x100519ab
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007916f
mov eax, dword [ebp - 0x228]
add esp, 0x234
pop ebp
ret
lea eax, [ebp - 0x20c]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
sub esp, 0xc
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
sub esp, 4
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x108]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.10099e70
lea ecx, [ebp - 0x108]
lea eax, [0x100c448a]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10099e80
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10099e80
jmp 0x100512eb
jmp 0x1005175f