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

Disassembly:
push 0xffffffffffffffff
push 0x4aa1e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x6c]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x30], al
call fcn.0041ba60
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46d97c
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 1
call fcn.00475930
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 2
call fcn.00475930
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00475930
mov al, byte [esp + 0x6c]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push 0x41
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 5
call fcn.00475ce0
push 0x1f
lea ecx, [esp + 0x14]
call fcn.00475ce0
push ebx
lea ecx, [esp + 0x14]
call fcn.00475ce0
push ebx
lea ecx, [esp + 0x14]
call fcn.00475ce0
push ebx
lea ecx, [esp + 0x14]
call fcn.00475ce0
push 1
lea ecx, [esp + 0x14]
call fcn.00475ce0
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46da45
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x51
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 6
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4bca14
lea ecx, [esp + 0x34]
call fcn.0041c040
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4bccc0
call fcn.004759a0
lea eax, [esp + 0x50]
push eax
call fcn.00477540
add esp, 8
mov ecx, dword [0x4ad134]
mov byte [esp + 0x64], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x38]
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
push ebx
push 0x16
sub esp, 0x10
lea edx, [esp + 0x84]
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x90], 8
call fcn.0041b230
mov byte [esp + 0x8c], 5
mov ecx, 0x4c45b8
call fcn.0047a9a0
cmp ax, 2
jne 0x46dbcd
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x64], 4
je 0x46db79
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x46db66
mov esi, dword [esp + 0x40]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.00475a40
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.0041ba60
jmp 0x46e1a1
mov edi, 0x4c4510
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46dc11
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4c4510
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x2f
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 9
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4bca14
lea ecx, [esp + 0x34]
call fcn.0041c040
push 0x23
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xa
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46dcf8
call fcn.0049813b
cmp esi, ebx
jbe 0x46dd3c
mov ecx, dword [esp + 0x34]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46dd3c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, 0x4bc280
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x30
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xb
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46ddb3
call fcn.0049813b
cmp esi, ebx
jbe 0x46ddf7
mov ecx, dword [esp + 0x34]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46ddf7
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, 0x4bc280
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x31
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xc
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46de6e
call fcn.0049813b
cmp esi, ebx
jbe 0x46deb2
mov ecx, dword [esp + 0x34]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46deb2
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, 0x4bc280
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x32
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xd
call fcn.0041bf60
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, 0x4bc280
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46df29
call fcn.0049813b
cmp esi, ebx
jbe 0x46df6d
mov ecx, dword [esp + 0x34]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46df6d
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, 0x4bc280
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.0041c2c0
push 0x33
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xe
call fcn.0041bf60
mov eax, dword [esp + 0x50]
mov byte [esp + 0x64], 5
cmp eax, ebx
je 0x46dfd9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46dfd0
cmp al, 0xff
je 0x46dfd0
dec al
mov byte [ecx], al
jmp 0x46dfd9
push ecx
call fcn.00498130
add esp, 4
mov edi, 0x4bca14
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ad134]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46dffe
call fcn.0049813b
cmp esi, ebx
jbe 0x46e044
mov ecx, dword [esp + 0x34]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.0041c2e0
test al, al
je 0x46e044
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, esi
mov esi, 0x4bca14
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [eax + ebp], 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x4bccc0
call fcn.004759a0
lea ecx, [esp + 0x50]
push ecx
call fcn.00477540
add esp, 8
mov edx, dword [0x4ad134]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x70], 0xf
call fcn.0041bf60
mov eax, dword [esp + 0x50]
mov byte [esp + 0x64], 5
cmp eax, ebx
je 0x46e0a5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46e09c
cmp al, 0xff
je 0x46e09c
dec al
mov byte [ecx], al
jmp 0x46e0a5
push ecx
call fcn.00498130
add esp, 4
push ebx
push 0x16
sub esp, 0x10
lea eax, [esp + 0x84]
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
mov dword [esp + 0x6c], ebx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00475910
push esi
call fcn.00477540
sub esp, 8
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x90], 0x10
call fcn.0041b230
mov ecx, 0x4c45b8
mov byte [esp + 0x8c], 5
call fcn.0047a9a0
cmp ax, 2
jne 0x46e1bb
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x64], 4
je 0x46e131
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x46e11f
mov esi, dword [esp + 0x40]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.00475a40
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x46e195
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46e18c
cmp al, 0xff
je 0x46e18c
dec al
mov byte [ecx], al
jmp 0x46e195
push ecx
call fcn.00498130
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00475a40
mov ax, 1
jmp 0x46e3c7
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0041bcb0
push 0x52
push 5
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], esi
call fcn.00475c80
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x10]
push edx
push 1
push eax
lea ecx, [esp + 0x48]
call fcn.0041c400
push 0x53
push 5
lea ecx, [esp + 0x18]
call fcn.00475c80
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.0041c400
jmp 0x46e21c
xor ebx, ebx
mov al, byte [esp + 0x3c]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x34], esp
mov byte [ebp], al
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x46e238
xor eax, eax
jmp 0x46e241
mov eax, dword [esp + 0x54]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x46e247
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.00498866
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebx, ecx
mov dword [esp + 0x30], esi
je 0x46e291
mov dword [esp + 0x38], esi
test esi, esi
mov byte [esp + 0x74], 0x11
je 0x46e283
push edi
mov ecx, esi
call fcn.00475910
add edi, 4
add esi, 4
cmp edi, ebx
mov dword [esp + 0x30], esi
jne 0x46e26e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
push ecx
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x7c], 0x12
call fcn.00475910
mov ecx, dword [0x4c4560]
mov byte [esp + 0x78], 5
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
cmp ax, bx
jl 0x46e320
movsx eax, ax
sub eax, ebx
je 0x46e2fb
dec eax
jne 0x46e21a
push 1
lea ecx, [esp + 0x40]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00475910
mov ecx, dword [esp + 0x20]
call fcn.004704f0
jmp 0x46e21a
push ebx
lea ecx, [esp + 0x40]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00475910
mov ecx, dword [esp + 0x20]
call fcn.0046e3e0
jmp 0x46e21a
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x64], 4
je 0x46e343
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x46e331
mov esi, dword [esp + 0x40]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.00475a40
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x46e3a7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x46e39e
cmp al, 0xff
je 0x46e39e
dec al
mov byte [ecx], al
jmp 0x46e3a7
push ecx
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x64], 0xffffffff
call fcn.00475a40
xor ax, ax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4