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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a60b1
push eax
mov dword fs:[0], esp
sub esp, 0x57c
push ebx
mov ebx, dword [esp + 0x598]
push esi
mov esi, edx
mov dword [ebx], 0
movsx eax, byte [esi]
test eax, eax
lea edx, [esi + 1]
je 0x46e8e2
cmp eax, 0xa
je 0x46e96d
cmp eax, 0xd
je 0x46e96d
movsx eax, byte [edx]
add edx, 1
test eax, eax
jne 0x46e8c6
push ebp
push edi
mov dl, 1
mov edi, esi
call fcn.00468150
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x46e8fe
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x28], 1
test byte [esp + 0x5a0], 2
mov dword [esp + 0x594], 0
je 0x46e974
mov ecx, esi
call fcn.00443ee0
test eax, eax
jne 0x46e938
lea edx, [esp + 0x88]
mov ecx, esi
call fcn.00463f80
lea esi, [esp + 0x88]
mov eax, dword [esp + 0x5a0]
push ebx
push ebp
push edi
call fcn.00452f70
test ebp, ebp
mov bl, al
mov dword [esp + 0x594], 0xffffffff
je 0x46e966
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebp
call fcn.00463cb0
mov al, bl
jmp 0x46f295
xor al, al
jmp 0x46f297
test ebp, ebp
jne 0x46e991
lea ecx, [esp + 0x24]
mov dword [esp + 0x594], 0xffffffff
call fcn.00464240
jmp 0x46f293
cmp dword [ebp + 0x19c], 0
je 0x46e9cb
cmp dword [ebp + 0x1a0], 0x10
jb 0x46e9ab
mov eax, dword [ebp + 0x18c]
jmp 0x46e9b1
lea eax, [ebp + 0x18c]
push esi
push eax
mov edx, 0x104
lea ecx, [esp + 0x90]
call fcn.0044e1b0
lea esi, [esp + 0x88]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x46e9e0
push eax
lea ecx, [esp + 0x28]
call fcn.00469870
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x18], 0
jne 0x46ea12
mov eax, dword [esp + 0x5a0]
push ebx
push ebp
push edi
call fcn.00452f70
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x594], 0xffffffff
call fcn.00464240
mov al, bl
jmp 0x46f295
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.0046e490
test al, al
je 0x46e978
cmp esi, edi
mov edx, 0x104
lea ecx, [esp + 0x88]
jne 0x46ea50
mov byte [esp + 0x88], 0
jmp 0x46ea74
mov al, byte [esi]
sub edx, 1
add esi, 1
test al, al
je 0x46ea71
cmp al, 0x2f
je 0x46ea64
mov byte [ecx], al
jmp 0x46ea67
mov byte [ecx], 0x5c
add ecx, 1
cmp edx, edi
jne 0x46ea50
sub ecx, 1
mov byte [ecx], 0
test byte [esp + 0x5a0], 1
movzx eax, word [ebp + 0x1da]
mov cl, byte [ebp + 0x1dc]
mov byte [esp + 0x1f], cl
mov dword [esp + 0x14], eax
push edi
lea edx, [esp + 0x8c]
mov ecx, ebp
je 0x46ebe4
push 1
call fcn.00447cf0
mov edi, eax
cmp edi, 0xffffffff
je 0x46ebda
lea eax, [esp + 0x88]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46ead2
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x54]
call fcn.004545a0
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebp + 0x204]
mov byte [esp + 0x598], 1
call fcn.0045eb40
mov eax, dword [esp + 0x64]
cmp eax, 0x10
mov byte [esp + 0x594], 0
jb 0x46eb2a
mov ecx, dword [esp + 0x50]
add eax, 1
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00445620
mov ecx, dword [ebp + 0x1c0]
test ecx, ecx
je 0x46eb43
mov eax, dword [ebp + 0x1c4]
sub eax, ecx
sar eax, 4
cmp edi, eax
jb 0x46eb48
call fcn.0048c48f
mov ebx, edi
shl ebx, 4
add ebx, dword [ebp + 0x1c0]
lea eax, [esp + 0x4c]
mov edx, dword [ebx + 0xc]
push edx
push eax
mov ecx, ebp
call fcn.00447920
mov ecx, dword [ebp + 0x1c0]
test ecx, ecx
jne 0x46eb71
xor eax, eax
jmp 0x46eb7c
mov eax, dword [ebp + 0x1c4]
sub eax, ecx
sar eax, 4
add edi, 1
lea esi, [eax - 1]
and esi, edi
test ecx, ecx
je 0x46eb97
mov eax, dword [ebp + 0x1c4]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x46eb9c
call fcn.0048c48f
mov edx, dword [ebx + 0xc]
and dword [esp + 0x5c], 0x7fffffff
lea ecx, [esp + 0x4c]
push ecx
shl esi, 4
add esi, dword [ebp + 0x1c0]
push edx
mov ecx, ebp
call fcn.0044cf60
or eax, 0xffffffff
xor ecx, ecx
cmp dword [esi + 0xc], eax
sete cl
add ecx, 0xfffffffe
mov dword [ebx + 0xc], ecx
mov dword [ebp + 0x218], eax
mov dword [ebp + 0x21c], eax
and dword [esp + 0x5a0], 0xfffffffe
jmp 0x46ebf3
push edi
call fcn.00447cf0
cmp eax, 0xffffffff
jne 0x46e978
mov ecx, ebp
call fcn.00452b40
mov ebx, dword [esp + 0x59c]
xor edi, edi
cmp word [ebp + 0x34], di
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jne 0x46ecb4
mov edx, dword [ebp + 0x20c]
lea ecx, [ebp + 0x1ac]
mov dword [esp + 0x20], edx
call fcn.004454e0
imul eax, eax, 0x31
mov esi, eax
xor eax, eax
lea ecx, [ebp + 0x1bc]
mov dword [esp + 0x10], eax
call fcn.00445540
shl eax, 4
xor ecx, ecx
add esi, eax
mov eax, dword [esp + 0x10]
adc eax, ecx
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x10], eax
shr ecx, 2
xor edx, edx
mov eax, ebx
div ecx
xor edx, edx
add eax, 8
add esi, eax
mov eax, dword [esp + 0x10]
adc eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
imul eax, eax, 0x106
xor ecx, ecx
add esi, eax
mov eax, dword [esp + 0x10]
adc eax, ecx
add esi, ebx
adc eax, edx
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x2c]
add esi, eax
adc ecx, edx
add esi, 0x10000
adc ecx, edi
mov dword [esp + 0x84], ecx
js 0x46ecb4
jg 0x46e978
cmp esi, 0xffffffff
ja 0x46e978
mov ecx, dword [esp + 0x5a0]
mov dword [esp + 0x50], edx
mov edx, dword [0x4e9048]
mov dword [esp + 0x6c], edx
mov edx, dword [0x4e904c]
mov dword [esp + 0x70], edx
mov edx, dword [0x4e9050]
mov dword [esp + 0x4c], eax
mov eax, ecx
or eax, 0x80000000
mov dword [esp + 0x74], edx
mov edx, dword [0x4e9054]
and ecx, 0x1000200
cmp ecx, 0x200
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x78], edx
mov byte [esp + 0x7c], 0
jne 0x46ed26
or eax, 0x4000000
mov dword [esp + 0x5c], eax
lea ecx, [ebp + 0x1ac]
call fcn.004454e0
xor edx, edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x38], eax
call fcn.00443150
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], edi
mov edi, edi
lea ecx, [ebp + 0x1bc]
call fcn.00445540
lea edi, [eax - 1]
and edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], 0
jbe 0x46edc5
mov ecx, dword [ebp + 0x1c0]
test ecx, ecx
je 0x46ed8e
mov eax, dword [ebp + 0x1c4]
sub eax, ecx
sar eax, 4
cmp edi, eax
jb 0x46ed93
call fcn.0048c48f
mov esi, edi
shl esi, 4
add esi, dword [ebp + 0x1c0]
cmp dword [esi + 0xc], 0xfffffffe
jae 0x46ee2b
mov ecx, dword [esp + 0x20]
add edi, 1
lea eax, [ecx - 1]
and edi, eax
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x48], eax
jb 0x46ed75
mov eax, ecx
cmp dword [esp + 0x10], 0
jne 0x46f25d
add eax, eax
mov dword [esp + 0x10], eax
cmp eax, 0x10000
mov dword [esp + 0x20], 0x10000
lea eax, [esp + 0x10]
ja 0x46eded
lea eax, [esp + 0x20]
mov esi, dword [eax]
cmp esi, 0x100000
jb 0x46ee0d
call fcn.0048e36d
add eax, 0x40
push eax
push str.SFileCreateFile:_warning___hash_table_about_to_exceed_224_items__n
call fcn.0048e22b
add esp, 8
mov edx, esi
mov ecx, ebp
call fcn.0046c560
test al, al
je 0x46f25d
mov dword [esp + 0x10], 1
jmp 0x46ed50
mov edx, 1
lea ecx, [esp + 0x88]
call fcn.00443150
mov edx, 2
lea ecx, [esp + 0x88]
mov edi, eax
call fcn.00443150
mov cl, byte [esp + 0x1f]
mov edx, dword [esp + 0x38]
mov dword [esi + 4], eax
mov ax, word [esp + 0x14]
mov word [esi + 8], ax
lea eax, [esp + 0x4c]
mov byte [esi + 0xa], cl
push eax
lea ecx, [ebp + 0x1ac]
mov dword [esi], edi
mov byte [esi + 0xb], 0
mov dword [esi + 0xc], edx
call fcn.0045cdd0
mov eax, dword [ebp + 0x18]
lea ecx, [eax + 0xc]
call fcn.004445e0
test ebx, ebx
je 0x46f05b
test dword [esp + 0x5a0], 0xff00
je 0x46f05b
push 0
push 0x24
push 0x98
push 0x8c
push 0x38
push 0x64
lea ecx, [esp + 0x98]
push 0x15c
push ecx
call fcn.0044c600
mov edx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x20
test dword [esp + 0x5a0], 0x1000000
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
je 0x46efbb
xor esi, esi
mov ecx, ebx
add ecx, eax
mov edi, esi
adc edi, dword [esp + 0x30]
push edi
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0044fc30
push eax
lea edx, [esp + 0x48]
push edx
push 0x44d280
push ebx
lea edx, [ebp + 0x1e4]
lea ecx, [esp + 0x24]
call fcn.0045dc00
mov ecx, dword [ebp + 0x1e0]
and cl, 4
neg cl
lea edx, [esp + 0x40]
push edx
push esi
push esi
mov esi, eax
push ebx
sbb ecx, ecx
and ecx, 0x44d240
mov edi, ecx
lea eax, [esp + 0x24]
call fcn.0044ed70
mov ecx, dword [ebp + 0x1e0]
and cl, 1
neg cl
lea edx, [esp + 0x3c]
push edx
push 0
mov esi, eax
lea eax, [esp + 0x1c]
sbb ecx, ecx
and ecx, 0x44d220
mov edi, ecx
xor ecx, ecx
push ecx
push ebx
call fcn.0044ecf0
push eax
push 0
push 1
push 0
push 0
mov edx, ebx
push 1
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.0044f640
push eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.00454b20
mov edx, dword [esp + 0x5a4]
mov dword [edx], eax
jmp 0x46f153
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edi, ecx
add esi, 0xffffffff
adc edi, 0
push edi
push esi
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0044fc30
mov ecx, dword [ebp + 0x78]
push eax
lea eax, [esp + 0x48]
push eax
push 0x44d280
push ecx
push ebx
lea edx, [ebp + 0x1e4]
lea ecx, [esp + 0x28]
call fcn.0045db10
mov ecx, dword [ebp + 0x1e0]
and cl, 4
neg cl
lea edx, [esp + 0x40]
push edx
mov esi, eax
lea eax, [esp + 0x18]
sbb ecx, ecx
and ecx, 0x44d240
mov edi, ecx
xor ecx, ecx
push ecx
push ecx
push ebx
call fcn.0044ed70
mov ecx, dword [ebp + 0x1e0]
and cl, 1
neg cl
lea edx, [esp + 0x3c]
push edx
push 0
mov esi, eax
lea eax, [esp + 0x1c]
sbb ecx, ecx
and ecx, 0x44d220
mov edi, ecx
xor ecx, ecx
push ecx
push ebx
call fcn.0044ecf0
mov edx, dword [ebp + 0x78]
push eax
push 0
push 1
push 1
push 1
jmp 0x46ef85
push 0
push 0x24
push 0x8c
push 0x38
lea eax, [esp + 0x90]
push 0x15c
push eax
call fcn.0044c600
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
add esp, 0x18
xor esi, esi
mov ecx, ebx
add ecx, eax
mov edi, esi
adc edi, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0044fc30
mov edx, dword [ebp + 0x1e0]
and dl, 4
neg dl
lea ecx, [esp + 0x40]
push ecx
push esi
push esi
mov esi, eax
push ebx
sbb edx, edx
and edx, 0x44d240
mov edi, edx
lea eax, [esp + 0x24]
call fcn.0044ed70
mov edx, dword [ebp + 0x1e0]
and dl, 1
neg dl
lea ecx, [esp + 0x3c]
push ecx
push 0
mov esi, eax
lea eax, [esp + 0x1c]
sbb edx, edx
xor ecx, ecx
and edx, 0x44d220
push ecx
mov edi, edx
push ebx
call fcn.0044ecf0
mov edx, dword [esp + 0x38]
push eax
push edx
lea eax, [esp + 0x90]
push eax
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.00454b20
mov esi, eax
mov edx, dword [esi + 0x124]
lea ecx, [esi + 0x128]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov dword [esi + 0x130], ebx
call fcn.0044cf60
mov eax, dword [esi + 0x14]
add dword [eax + 0x218], ebx
mov ecx, 0
adc dword [eax + 0x21c], ecx
mov eax, dword [esp + 0x5a4]
mov dword [eax], esi
mov esi, dword [esp + 0x5a4]
mov eax, dword [esi]
test eax, eax
jne 0x46f192
lea ecx, [esp + 0x18c]
push str.SFileCreateFile___SFILE_ERROR_FILE_INVALID
push ecx
mov dword [0x4e4928], 0x3ee
call fcn.0044aaf0
add esp, 8
push 4
mov edx, eax
mov ecx, 0x3ee
call fcn.00465f80
jmp 0x46f273
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x46f1a2
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46f1b4
mov edx, dword [ecx]
mov eax, dword [esi]
mov edx, dword [edx + 0x24]
push eax
call edx
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x46f1c6
mov eax, dword [ecx]
mov edx, dword [esi]
mov eax, dword [eax + 0x24]
push edx
call eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x34], 1
call fcn.004556c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x204]
mov byte [esp + 0x59c], 2
call fcn.0045cf10
mov eax, dword [esp + 0x64]
cmp eax, 0x10
mov byte [esp + 0x594], 0
jb 0x46f224
mov edx, dword [esp + 0x50]
add eax, 1
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00445620
cmp byte [esp + 0x28], 0
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x594], 0xffffffff
je 0x46f252
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebp
call fcn.00463cb0
mov al, 1
jmp 0x46f295
call fcn.0048e36d
add eax, 0x40
push eax
push str.SFileCreateFile:_unable_to_insert_an_entry_into_the_hash_table__n
call fcn.0048e22b
add esp, 8
cmp byte [esp + 0x28], 0
mov dword [esp + 0x594], 0xffffffff
je 0x46f28c
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebp
call fcn.00463cb0
xor al, al
pop edi
pop ebp
mov ecx, dword [esp + 0x584]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x588
ret 0xc