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

Disassembly:
push 0xffffffffffffffff
push 0x472dd3
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x482534]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482534]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48c]
mov dword [esp + 0x1c], eax
call fcn.004315d0
xor edi, edi
push 0x3fe
lea ecx, [esp + 0x7a]
push edi
push ecx
mov word [esp + 0x80], di
call fcn.00408780
add esp, 0xc
push 0x200
lea edx, [esp + 0x78]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x74]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x46e121
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea esi, [esp + 0x44]
call fcn.00402bc0
push 1
push str._.__
mov ebx, esi
mov dword [esp + 0x48c], edi
call fcn.00403c60
cmp eax, 0xffffffff
jne 0x46e16e
cmp dword [esp + 0x54], 8
jb 0x46e54f
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x46e547
push 0xffffffffffffffff
lea edx, [esp + 0x40]
lea ecx, [eax + 1]
push edx
lea esi, [esp + 0x28]
call fcn.00403a80
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x48c], 1
call fcn.004027b0
mov byte [esp + 0x484], 0
cmp dword [esp + 0x38], 8
jb 0x46e1b2
mov eax, dword [esp + 0x24]
push eax
call fcn.00404706
add esp, 4
mov edx, dword [esp + 0x54]
cmp edx, 8
mov ecx, dword [esp + 0x40]
jb 0x46e2ca
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x46e1f4
cmp edx, 8
mov eax, ecx
jae 0x46e1d6
lea eax, [esp + 0x40]
cmp eax, dword [esp + 0x14]
ja 0x46e1f4
cmp edx, 8
mov eax, ecx
jae 0x46e1e7
lea eax, [esp + 0x40]
mov ebp, dword [esp + 0x50]
lea eax, [eax + ebp*2]
cmp dword [esp + 0x14], eax
jbe 0x46e205
call fcn.004048b2
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp edx, 8
mov eax, ecx
jae 0x46e210
lea eax, [esp + 0x40]
lea edi, [eax + ebp*2]
test edi, edi
je 0x46e238
cmp edx, 8
mov eax, ecx
jae 0x46e222
lea eax, [esp + 0x40]
cmp eax, edi
ja 0x46e238
cmp edx, 8
mov eax, ecx
jae 0x46e231
lea eax, [esp + 0x40]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x46e249
call fcn.004048b2
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp edx, 8
lea ebx, [esp + 0x3c]
jb 0x46e2d7
test ecx, ecx
mov esi, ecx
je 0x46e27d
cmp edx, 8
mov eax, ecx
jae 0x46e267
lea eax, [esp + 0x40]
cmp eax, esi
ja 0x46e27d
cmp edx, 8
mov eax, ecx
jae 0x46e276
lea eax, [esp + 0x40]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x46e282
call fcn.004048b2
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x40]
mov ecx, eax
push ecx
push edi
push ebx
push esi
push eax
lea eax, [esp + 0x2c]
call fcn.00403cf0
add esp, 0x18
push 1
push 0x476ca0
lea ebx, [esp + 0x44]
call fcn.00403c60
mov esi, eax
cmp esi, 0xffffffff
jne 0x46e2e0
cmp dword [esp + 0x54], 8
jb 0x46e54f
mov eax, dword [esp + 0x40]
push eax
jmp 0x46e547
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
jmp 0x46e1cb
lea esi, [esp + 0x40]
jmp 0x46e25c
lea edi, [esi + 1]
push 0x476ca4
mov ebx, 1
mov eax, edi
lea edx, [esp + 0x40]
call fcn.00403b80
cmp eax, 0xffffffff
jne 0x46e335
push 0x476ca8
mov eax, edi
lea edx, [esp + 0x40]
call fcn.00403b80
cmp eax, 0xffffffff
jne 0x46e335
push 0x476cac
mov eax, edi
lea edx, [esp + 0x40]
call fcn.00403b80
cmp eax, 0xffffffff
jne 0x46e335
lea esi, [esp + 0x3c]
call fcn.004025a0
jmp 0x46e54f
sub eax, esi
sub eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
lea esi, [esp + 0x60]
call fcn.00403a80
lea ebx, [esp + 0x14]
mov edi, esi
call fcn.004039e0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, edi
lea ebx, [esp + 0x14]
lea edi, [esp + 0x58]
call fcn.00403a30
xor ebx, ebx
cmp esi, 0xfffffffe
mov edi, eax
je 0x46e383
cmp esi, ebx
je 0x46e37e
cmp esi, dword [edi]
je 0x46e383
call fcn.004048b2
cmp ebp, dword [edi + 4]
je 0x46e464
cmp esi, 0xfffffffe
je 0x46e3bd
cmp esi, ebx
jne 0x46e39a
call fcn.004048b2
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x46e3a9
mov eax, dword [esi + 4]
jmp 0x46e3ac
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
lea eax, [eax + edx*2]
cmp ebp, eax
jb 0x46e3c2
call fcn.004048b2
jmp 0x46e3c2
mov edi, 8
cmp word [ebp], 0x30
jb 0x46e42c
cmp esi, 0xfffffffe
je 0x46e3f3
cmp esi, ebx
jne 0x46e3d7
call fcn.004048b2
cmp dword [esi + 0x18], edi
jb 0x46e3e1
mov eax, dword [esi + 4]
jmp 0x46e3e4
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jb 0x46e3f3
call fcn.004048b2
cmp word [ebp], 0x39
ja 0x46e42c
cmp esi, 0xfffffffe
je 0x46e424
cmp esi, ebx
jne 0x46e408
call fcn.004048b2
cmp dword [esi + 0x18], edi
jb 0x46e412
mov eax, dword [esi + 4]
jmp 0x46e415
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jb 0x46e424
call fcn.004048b2
add ebp, 2
jmp 0x46e360
cmp dword [esp + 0x70], edi
jb 0x46e43f
mov eax, dword [esp + 0x5c]
push eax
call fcn.00404706
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x46e54f
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x46e547
mov eax, dword [esp + 0x6c]
cmp eax, 5
jl 0x46e513
cmp eax, 9
jg 0x46e513
mov eax, dword [esp + 0x5c]
mov esi, 8
cmp dword [esp + 0x70], esi
jae 0x46e48d
lea eax, [esp + 0x5c]
push eax
call fcn.00404e70
mov edx, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
mov dword [edx], eax
jne 0x46e4d5
cmp dword [esp + 0x70], esi
jb 0x46e4b3
mov eax, dword [esp + 0x5c]
push eax
call fcn.00404706
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x46e54f
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x46e547
cmp dword [esp + 0x70], esi
jb 0x46e4e8
mov edx, dword [esp + 0x5c]
push edx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x46e50c
mov eax, dword [esp + 0x40]
push eax
call fcn.00404706
add esp, 4
mov eax, 1
jmp 0x46e551
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x46e52b
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x46e54f
mov edx, dword [esp + 0x40]
push edx
call fcn.00404706
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.0040470b
add esp, 0x474
ret