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

Disassembly:
push 0xffffffffffffffff
push 0x49e1b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x44], ecx
xor esi, esi
mov dword [esp + 0x1b4], esi
mov al, byte [esp + 0x11]
mov dword [esp + 0x20], esi
mov byte [esp + 0x1c], al
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 2
call fcn.0046eb50
mov cl, byte [esp + 0x11]
mov dword [esp + 0x80], esi
mov byte [esp + 0x7c], cl
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dl, byte [esp + 0x11]
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x1b8], 4
mov byte [esp + 0x98], dl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
lea ecx, [esp + 0x9c]
call fcn.00418330
mov al, byte [esp + 0x11]
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x90], 0xffffffff
mov byte [esp + 0x6c], al
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov cl, byte [esp + 0x11]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x58], cl
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dl, byte [esp + 0x11]
mov dword [esp + 0x4c], esi
mov byte [esp + 0x48], dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov al, byte [esp + 0x11]
mov dword [esp + 0xbc], esi
mov byte [esp + 0xb8], al
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov cl, byte [esp + 0x11]
mov dword [esp + 0xac], esi
mov byte [esp + 0xa8], cl
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dl, byte [esp + 0x11]
mov dword [esp + 0xdc], esi
mov byte [esp + 0xd8], dl
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov al, byte [esp + 0x11]
push esi
lea ecx, [esp + 0xec]
mov byte [esp + 0x1b8], 0xb
mov byte [esp + 0xec], al
call fcn.00401bb0
mov cl, byte [esp + 0x11]
push esi
mov byte [esp + 0xfc], cl
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b8], 0xc
call fcn.00401bb0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0xd
call fcn.0046eb50
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1bc], 0xe
mov dword [esp + 0x48], esi
mov byte [esp + 0x19], 0
call fcn.00426520
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.00426520
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00426520
mov eax, dword [esp + 0x1c0]
cmp eax, esi
jne 0x46c62c
xor edi, edi
jmp 0x46c638
mov edi, dword [esp + 0x1c4]
sub edi, eax
sar edi, 2
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], edi
call fcn.00426520
cmp di, si
jle 0x46c6e9
mov bl, byte [esp + 0x11]
movsx ebp, di
push esi
lea ecx, [esp + 0x38]
call fcn.0046efc0
push esi
lea ecx, [esp + 0xcc]
mov byte [esp + 0xcc], bl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
lea ecx, [esp + 0xd0]
call fcn.00418330
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0xc8]
push ecx
push 1
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1c0], 0xf
call fcn.0040acc0
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
dec ebp
jne 0x46c66b
movsx ecx, word [esp + 0x40]
mov eax, 0x55555556
mov ebx, dword [esp + 0xa4]
imul ecx
mov eax, edx
shr eax, 0x1f
movsx edi, bx
add edx, eax
cmp edx, edi
mov dword [esp + 0x2c], edx
jl 0x46c718
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x4af178
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480bb0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4af1bc
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
cmp byte [esp + 0x13], 1
jne 0x46c928
cmp byte [esp + 0x11], 1
jne 0x46c793
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4af1b4
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x46c7bc
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4af1b4
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4af1ac
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
cmp bx, si
jle 0x46c8fc
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x3c], edi
push ebp
lea ecx, [esp + 0x1c0]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x190]
push ecx
call fcn.00470800
add esp, 8
mov edx, dword [0x4a0148]
lea ecx, [esp + 0xe8]
push edx
push 0
push eax
mov byte [esp + 0x1c0], 0x10
call fcn.0040a8e0
push 1
lea ecx, [esp + 0x190]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
mov ecx, dword [esp + 0x80]
mov eax, dword [0x4a0148]
push eax
push 0
lea edx, [ebx + ecx]
lea ecx, [esp + 0x100]
push edx
call fcn.0040a8e0
mov al, byte [esp + 0x11]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
mov ecx, esi
call fcn.00418330
sub esp, 0x10
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0xac], esp
push edx
mov byte [esp + 0x1d8], 0x11
call fcn.0040a690
sub esp, 0x10
lea eax, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x1e8], 0x12
call fcn.0040a690
mov ecx, dword [0x4b6454]
mov byte [esp + 0x1e4], 0xe
call fcn.00481290
mov eax, dword [esp + 0x3c]
inc ebp
add ebx, 0x10
dec eax
mov dword [esp + 0x3c], eax
jne 0x46c7e4
xor esi, esi
mov ecx, dword [0x4b6454]
mov ebp, dword [esp + 0x2c]
push 0x8f
call fcn.00480db0
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [0x4b6454]
call fcn.004810c0
jmp 0x46cc20
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x4af1b4
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x4af1ac
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
movsx ebx, word [esp + 0x2c]
push ebx
lea ecx, [esp + 0x1c0]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046eb30
lea edx, [esp + 0x1a0]
push edx
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov byte [esp + 0x1b4], 0x13
push ecx
push esi
push eax
lea ecx, [esp + 0xf4]
call fcn.0040a8e0
push 1
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
mov edx, dword [0x4a0148]
mov eax, ebx
push edx
mov edx, dword [esp + 0x84]
shl eax, 4
add eax, edx
push esi
push eax
lea ecx, [esp + 0x104]
call fcn.0040a8e0
mov cl, byte [esp + 0x11]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x48], esp
push esi
mov byte [ebp], cl
mov ecx, ebp
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebp
call fcn.0040aba0
test al, al
je 0x46ca4c
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x4b63f0
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040ab80
xor esi, esi
sub esp, 0x10
lea eax, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x1d8], 0x14
call fcn.0040a690
sub esp, 0x10
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0x1e8], 0x15
call fcn.0040a690
mov ecx, dword [0x4b6454]
mov byte [esp + 0x1e4], 0xe
call fcn.00481290
cmp word [esp + 0x2c], si
jle 0x46cc0f
mov dword [esp + 0x8c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x1bc]
push eax
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x150]
push ecx
call fcn.00470800
add esp, 8
mov edx, dword [0x4a0148]
lea ecx, [esp + 0xe8]
push edx
push 0
push eax
mov byte [esp + 0x1c0], 0x16
call fcn.0040a8e0
push 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
mov eax, dword [0x4a0148]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
push eax
add edx, ecx
push 0
push edx
lea ecx, [esp + 0x104]
call fcn.0040a8e0
mov al, byte [esp + 0x11]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x48], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040aba0
test al, al
je 0x46cb94
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4b63f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040ab80
sub esp, 0x10
lea eax, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x1d8], 0x17
call fcn.0040a690
sub esp, 0x10
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x1e8], 0x18
call fcn.0040a690
mov ecx, dword [0x4b6454]
mov byte [esp + 0x1e4], 0xe
call fcn.00481290
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
inc edx
add ecx, 0x10
dec eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], eax
jne 0x46cab5
mov ecx, dword [0x4b6454]
call fcn.00480f30
mov ebp, dword [esp + 0x2c]
xor esi, esi
cmp ax, si
jl 0x46ce17
jne 0x46cc7d
push esi
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x1c4], 0x19
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x4af1a4
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x1c4], 0xe
call fcn.00472d90
cmp ax, 3
je 0x46d718
jmp 0x46c6e9
cmp ax, 1
jne 0x46cd2a
mov al, byte [esp + 0x48]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x24], esp
mov byte [edi], al
mov ecx, dword [esp + 0x5c]
cmp ecx, esi
jne 0x46cca2
xor eax, eax
jmp 0x46ccab
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
cmp eax, esi
jge 0x46ccb1
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00426ca0
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
sub esp, 0x10
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x1d8], 0x1a
call fcn.0046ea80
sub esp, 0x10
lea edx, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x1e8], 0x1b
call fcn.0046ea80
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x1e4], 0xe
call fcn.0046e7b0
jmp 0x46c6e9
cmp ax, 2
jne 0x46c6e9
push esi
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x1c4], 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x4ae644
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x1c4], 0xe
call fcn.00472d90
cmp ax, 3
jne 0x46c6e9
mov eax, dword [esp + 0x70]
mov byte [esp + 0x13], 0
push eax
mov eax, dword [esp + 0x78]
push eax
push eax
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1d], 0
call fcn.0040b0a0
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov edi, eax
push ecx
push edi
lea ecx, [esp + 0x74]
call fcn.0040ab30
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push edx
push eax
push eax
mov dword [esp + 0x80], edi
call fcn.0040b0a0
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x58]
push eax
push edi
call fcn.0040ab30
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push ecx
push eax
push eax
mov dword [esp + 0x6c], edi
call fcn.0040b0a0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x48]
push edx
push edi
call fcn.0040ab30
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], esi
jmp 0x46c6e9
mov al, byte [esp + 0x13]
test al, al
jne 0x46d5d9
movsx eax, word [esp + 0x40]
cdq
mov ecx, 3
idiv ecx
cmp edx, esi
jne 0x46cebe
cmp byte [esp + 0x12], 1
jne 0x46ce57
push ebp
lea ecx, [esp + 0x38]
call fcn.0046ee40
cmp al, 2
je 0x46ce57
add dword [esp + 0x40], 3
jmp 0x46c6e9
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x4ae234
call fcn.0046ebc0
lea edx, [esp + 0x130]
push edx
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov edx, dword [esp + 0x80]
push ecx
push esi
movsx ecx, bp
shl ecx, 4
push eax
add ecx, edx
mov byte [esp + 0x1c0], 0x1d
call fcn.0040a8e0
push 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
inc dword [esp + 0x40]
jmp 0x46c6e9
cmp edx, 1
jne 0x46d203
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
push eax
call fcn.0040b060
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push esi
call fcn.0040ab00
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], esi
movsx ebp, bp
lea ebx, [ecx + 4]
push ebp
mov ecx, ebx
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x34]
call fcn.0046ee50
lea ecx, [esp + 0x30]
call fcn.0046efe0
test ax, ax
je 0x46cf3f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00401c40
jmp 0x46d069
mov ecx, dword [esp + 0x1d0]
mov esi, ebp
shl esi, 4
add esi, ecx
lea ecx, [esp + 0x1c]
cmp ecx, esi
je 0x46d069
mov eax, dword [esi + 4]
test eax, eax
jne 0x46cf64
xor edi, edi
jmp 0x46cf6c
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
lea ecx, [esp + 0x1c]
call fcn.0040a860
cmp edi, eax
ja 0x46cfb4
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x20]
lea eax, [edx + eax*4]
mov dword [esp + 0x24], eax
jmp 0x46d069
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x46d012
mov edi, dword [esi + 4]
lea ecx, [esp + 0x1c]
call fcn.0040a860
mov ecx, dword [esp + 0x20]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x1c]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax*4]
mov dword [esp + 0x24], edx
jmp 0x46d069
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0040ab00
mov edx, dword [esp + 0x20]
push edx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
test eax, eax
jge 0x46d03f
xor eax, eax
shl eax, 2
push eax
call fcn.0048db76
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00401c00
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0040a7f0
mov ecx, dword [esp + 0x58]
call fcn.0046e540
push ecx
test ax, ax
mov ecx, esp
je 0x46d17b
lea eax, [esp + 0x34]
mov dword [esp + 0x18], esp
push eax
call fcn.0046eb30
push ebp
mov ecx, ebx
mov byte [esp + 0x1bc], 0xe
call fcn.00401ba0
mov ecx, eax
call fcn.0046ee50
mov ecx, dword [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x3c]
call fcn.0046ef60
mov al, byte [esp + 0x12]
push ecx
cmp al, 1
mov ecx, esp
jne 0x46d12a
mov dword [esp + 0x18], esp
push 6
push 0x4ae63c
call fcn.0046ebc0
lea edx, [esp + 0x170]
push edx
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov byte [esp + 0x1b4], 0x1f
push ecx
push 0
push eax
lea ecx, [esp + 0xa0]
call fcn.0040a8e0
mov byte [esp + 0x1b4], 0xe
push 1
lea ecx, [esp + 0x170]
jmp 0x46d1ca
mov dword [esp + 0x18], esp
push 6
push 0x4ae5cc
call fcn.0046ebc0
lea edx, [esp + 0x140]
push edx
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov byte [esp + 0x1b4], 0x20
push ecx
push 0
push eax
lea ecx, [esp + 0xa0]
call fcn.0040a8e0
mov byte [esp + 0x1b4], 0xe
push 1
lea ecx, [esp + 0x140]
jmp 0x46d1ca
mov dword [esp + 0x18], esp
push 6
push 0x4af19c
call fcn.0046ebc0
lea edx, [esp + 0x160]
push edx
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov byte [esp + 0x1b4], 0x21
push ecx
push 0
push eax
lea ecx, [esp + 0xa0]
call fcn.0040a8e0
mov byte [esp + 0x1b4], 0xe
push 1
lea ecx, [esp + 0x160]
call fcn.00401bb0
mov edx, dword [0x4a0148]
lea eax, [esp + 0x94]
push edx
push 0
mov ecx, ebp
push eax
mov eax, dword [esp + 0x8c]
shl ecx, 4
add ecx, eax
call fcn.0040a8e0
mov eax, dword [esp + 0x40]
xor esi, esi
inc eax
mov dword [esp + 0x40], eax
jmp 0x46c6e9
push ebp
lea ecx, [esp + 0x38]
call fcn.0046ee40
test al, al
je 0x46d5d0
cmp byte [esp + 0x12], 1
jne 0x46d225
mov ecx, dword [esp + 0x44]
call fcn.0046e9b0
mov ecx, dword [esp + 0x44]
call fcn.0046e980
lea ecx, [esp + 0xd8]
lea edx, [esp + 0xa8]
push ecx
mov ecx, dword [0x4b63e8]
lea eax, [esp + 0xbc]
push edx
push eax
call fcn.0042ba20
mov ebx, eax
cmp bx, si
je 0x46d545
movsx ecx, bp
push ecx
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x15], 1
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0046eb30
lea edx, [esp + 0x180]
push edx
call fcn.00470800
add esp, 8
push eax
mov eax, dword [esp + 0x78]
push 1
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c0], 0x22
call fcn.0040acc0
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
mov cl, byte [esp + 0x11]
push esi
mov byte [esp + 0x10c], cl
lea ecx, [esp + 0x10c]
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x10c]
push ebp
call fcn.0040aba0
test al, al
je 0x46d324
mov edi, dword [esp + 0x10c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4b63f0
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 + 0x10c]
call fcn.0040ab80
xor esi, esi
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x108]
push eax
push 1
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c0], 0x23
call fcn.0040acc0
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
mov dl, byte [esp + 0x11]
push esi
lea ecx, [esp + 0xcc]
mov byte [esp + 0xcc], dl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0xcc]
push ebp
call fcn.0040aba0
test al, al
je 0x46d3c1
mov edi, dword [esp + 0xcc]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4b63f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xcc]
call fcn.0040ab80
xor esi, esi
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0xc8]
push ecx
push 1
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c0], 0x24
call fcn.0040acc0
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b8], 0xe
call fcn.00401bb0
cmp bx, si
jle 0x46d458
xor edi, edi
movsx ebp, bx
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0x74]
lea ecx, [edi + eax]
push ecx
push 1
push edx
lea ecx, [esp + 0x78]
call fcn.0040acc0
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x60]
lea ecx, [edi + eax]
push ecx
push 1
push edx
lea ecx, [esp + 0x64]
call fcn.0040acc0
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0x50]
lea ecx, [edi + eax]
push ecx
push 1
push edx
lea ecx, [esp + 0x54]
call fcn.0040acc0
add edi, 0x10
dec ebp
jne 0x46d401
movsx edi, bx
push edi
lea eax, [esp + 0x11c]
push str._d_DTC
push eax
call fcn.0048dfde
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, esi
jne 0x46d47d
xor eax, eax
jmp 0x46d486
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
sub eax, edi
lea edi, [esp + 0x118]
dec eax
push 1
shl eax, 4
add eax, ecx
or ecx, 0xffffffff
mov ebp, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040aba0
test al, al
je 0x46d4d7
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x118]
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 [ebp + 4]
mov dword [ebp + 8], ebx
xor esi, esi
mov byte [ebx + eax], 0
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x98]
push ebx
call fcn.0040aba0
test al, al
je 0x46d52f
mov edi, dword [esp + 0x98]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x118]
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 + 0x98]
mov dword [esp + 0x9c], ebx
xor esi, esi
mov byte [ebx + eax], 0
mov ecx, dword [esp + 0x2c]
push 2
push ecx
lea ecx, [esp + 0x3c]
call fcn.0046ef60
mov ebp, dword [esp + 0x2c]
jmp 0x46d59d
mov edi, 0x4af190
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x98]
push ebx
call fcn.0040aba0
test al, al
je 0x46d59d
mov edi, dword [esp + 0x98]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4af190
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov ebp, dword [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x9c], ebx
xor esi, esi
mov byte [ebx + eax], 0
mov ecx, dword [0x4a0148]
lea edx, [esp + 0x94]
push ecx
push esi
movsx ecx, bp
push edx
mov edx, dword [esp + 0x8c]
shl ecx, 4
add ecx, edx
call fcn.0040a8e0
mov ecx, dword [0x4b63dc]
push 1
push 2
call fcn.00412290
inc dword [esp + 0x40]
jmp 0x46c6e9
mov eax, dword [esp + 0x90]
cmp ax, si
jl 0x46c6e9
cmp ax, word [esp + 0xa4]
jge 0x46c6e9
push eax
lea ecx, [esp + 0x38]
call fcn.0046ee40
test al, al
jne 0x46d64d
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x1c4], 0x25
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x4af188
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x1c4], 0xe
call fcn.00472d90
jmp 0x46c6e9
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
push eax
call fcn.0040b060
mov ebp, dword [esp + 0x30]
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
mov edi, ebx
je 0x46d67b
push esi
mov ecx, edi
call fcn.00402090
add edi, 4
cmp edi, ebp
jne 0x46d66c
movsx ecx, word [esp + 0x90]
mov edi, dword [esp + 0x44]
push ecx
mov dword [esp + 0x28], ebx
lea ecx, [edi + 4]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x34]
call fcn.0046ee50
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00401c40
lea ecx, [esp + 0x30]
lea edx, [esp + 0x1c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0040a7f0
movsx eax, word [esp + 0xa4]
push eax
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x1cc], 0x26
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.0046eb30
mov ecx, edi
mov byte [esp + 0x1cc], 0xe
call fcn.0046e180
jmp 0x46c6e9
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b4], 0xd
call fcn.0046ec60
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1b8], 0xc
call fcn.00401bb0
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x1b8], 0xb
call fcn.00401bb0
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
cmp edi, eax
mov byte [esp + 0x1b4], 0xa
mov ebx, eax
je 0x46d787
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d771
mov edi, dword [esp + 0xdc]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
add esp, 4
cmp edi, ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov byte [esp + 0x1b4], 9
je 0x46d7d5
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d7bf
mov edi, dword [esp + 0xac]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
add esp, 4
cmp edi, ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov byte [esp + 0x1b4], 8
je 0x46d823
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d80d
mov edi, dword [esp + 0xbc]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
add esp, 4
cmp edi, ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov byte [esp + 0x1b4], 7
je 0x46d868
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d855
mov edi, dword [esp + 0x4c]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0x1b4], 6
je 0x46d8a4
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d891
mov edi, dword [esp + 0x5c]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x1b4], 5
je 0x46d8e0
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d8cd
mov edi, dword [esp + 0x70]
push edi
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
push 1
mov dword [esp + 0x7c], esi
mov byte [esp + 0x1b8], 4
call fcn.00401bb0
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
cmp edi, eax
mov byte [esp + 0x1b4], 3
mov ebx, eax
je 0x46d93d
push esi
mov ecx, edi
call fcn.0040b370
add edi, 0x10
cmp edi, ebx
jne 0x46d927
mov edi, dword [esp + 0x80]
push edi
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov byte [esp + 0x1b4], 2
call fcn.0046ec60
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp edi, eax
mov byte [esp + 0x1b4], 1
mov ebx, eax
je 0x46d995
push esi
mov ecx, edi
call fcn.00402090
add edi, 4
cmp edi, ebx
jne 0x46d982
mov edi, dword [esp + 0x20]
push edi
call fcn.0048d500
mov ebx, dword [esp + 0x1c8]
mov edi, dword [esp + 0x1c4]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1b4], 0
je 0x46d9da
push esi
mov ecx, edi
call fcn.00402090
add edi, 4
cmp edi, ebx
jne 0x46d9c4
mov edi, dword [esp + 0x1c0]
push edi
call fcn.0048d500
mov ebp, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1d8]
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1b4], 0xffffffff
mov edi, ebp
je 0x46da26
push esi
mov ecx, edi
call fcn.004185e0
add edi, 0x10
cmp edi, ebx
jne 0x46da17
push ebp
call fcn.0048d500
mov ecx, dword [esp + 0x1b0]
add esp, 4
mov ax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret 0x20