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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xf4], eax
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov eax, dword [eax + 0x580]
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x130], esi
cmp byte [esi + 0x3c], cl
jne 0x46cd37
cmp byte [esi + 0x70], cl
jne 0x46cd37
xor eax, eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ecx
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 0xe9], al
jne 0x46c32b
add esi, 0x18
cmp dword [esi + 0x14], 8
jb 0x46c255
mov esi, dword [esi]
call fcn.0040baa0
push esi
mov ecx, eax
call fcn.004b4710
test eax, eax
je 0x46cc8d
lea esi, [eax + 0x574]
push esi
push 0x30
lea eax, [ebp - 0x28]
push 0x30
push eax
call fcn.0046eac0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push eax
call fcn.00403e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004038c0
cmp dword [ebp - 0x5c], 8
mov edi, dword [ebp - 0x70]
jae 0x46c2a6
lea edi, [ebp - 0x70]
push esi
push 0x33
lea eax, [ebp - 0x28]
push 0x30
push eax
call fcn.0046eac0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
push eax
call fcn.00403e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004038c0
cmp dword [ebp - 0x8c], 8
mov ebx, dword [ebp - 0xa0]
jae 0x46c2e8
lea ebx, [ebp - 0xa0]
push esi
push 0x34
lea eax, [ebp - 0x28]
push 0x30
push eax
call fcn.0046eac0
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push eax
call fcn.00403e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004038c0
cmp dword [ebp - 0x74], 8
jb 0x46c323
mov esi, dword [ebp - 0x88]
jmp 0x46c361
lea esi, [ebp - 0x88]
jmp 0x46c361
mov ecx, esi
call fcn.0041b270
test eax, eax
jne 0x46c33a
xor edi, edi
jmp 0x46c33d
mov edi, dword [eax + 0x70]
mov ecx, esi
call fcn.0041b270
test eax, eax
jne 0x46c34c
xor ebx, ebx
jmp 0x46c34f
mov ebx, dword [eax + 0x74]
mov ecx, esi
call fcn.0041b270
test eax, eax
jne 0x46c35e
xor esi, esi
jmp 0x46c361
mov esi, dword [eax + 0x78]
mov eax, dword [ebp + 8]
test edi, edi
je 0x46c36e
cmp word [edi], 0
jne 0x46c3bf
test ebx, ebx
je 0x46cc8d
cmp word [ebx], 0
je 0x46cc8d
test esi, esi
je 0x46cc8d
cmp word [esi], 0
je 0x46cc8d
test eax, eax
je 0x46c3b8
cmp eax, 1
jne 0x46c3af
mov ecx, dword [ebp - 0xf4]
push 0
call fcn.0047c690
mov bl, al
jmp 0x46cc8f
cmp eax, 2
jne 0x46cc8d
mov byte [ebp - 0xe9], 1
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], 0x20
cmp byte [ebp - 0xe9], al
jne 0x46c477
push edi
lea ecx, [ebp - 0x58]
call fcn.00403ef0
mov eax, dword [ebp - 0x130]
cmp dword [eax + 0x14], 0x3c
je 0x46c46c
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a2e0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x11c], eax
jmp 0x46c4c2
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403ef0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a2e0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403ef0
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040a2e0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x124], eax
mov edi, dword [ebp - 0xf4]
push 0
push 0
push 0x85f
mov ecx, dword [edi + 0x580]
call fcn.0040d9f0
mov ecx, dword [edi + 0x580]
mov esi, eax
push 0
push 0
push 0x861
mov dword [ebp - 0xf8], esi
call fcn.0040d9f0
mov ecx, dword [edi + 0x580]
mov ebx, eax
push 0
push 0
push 0x7d8
call fcn.0040d9f0
mov ecx, dword [edi + 0x580]
cmp eax, ebx
push 0
push esi
push 0x876
setb byte [ebp - 0x10d]
call fcn.0040d9f0
mov ecx, dword [edi + 0x580]
push 0
push ebx
push 0x876
mov dword [ebp - 0x104], eax
call fcn.0040d9f0
mov ecx, eax
mov dword [ebp - 0x10c], eax
sub ecx, dword [ebp - 0x104]
test ecx, ecx
jle 0x46c572
mov ecx, dword [edi + 0x580]
push 0
push eax
push 0x877
call fcn.0040d9f0
cmp ebx, eax
jne 0x46c572
dec dword [ebp - 0x10c]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], 0
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x140], eax
cmp eax, 0x3b
je 0x46c59c
mov byte [ebp - 0xfd], 0
cmp eax, 0x3c
jne 0x46c5a3
mov byte [ebp - 0xfd], 1
mov ecx, dword [edi + 0x580]
push 0
push 0
push 0x81e
call fcn.0040d9f0
mov eax, dword [ebp - 0x104]
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp eax, dword [ebp - 0x10c]
jg 0x46cbee
mov esi, dword [ebp - 0xf4]
push 0
push edi
push 0x877
mov ecx, dword [esi + 0x580]
call fcn.0040d9f0
mov ecx, dword [esi + 0x580]
push 0
push edi
push 0x850
mov dword [ebp - 0x138], eax
call fcn.0040d9f0
mov ecx, dword [ebp - 0xf4]
mov esi, eax
push 0
push edi
push 0x858
mov ecx, dword [ecx + 0x580]
mov dword [ebp - 0xfc], eax
call fcn.0040d9f0
mov dword [ebp - 0x120], eax
cmp esi, eax
jne 0x46c63b
cmp dword [ebp - 0x140], 0x3c
jne 0x46cbd5
cmp byte [ebp - 0xfd], 0
je 0x46c650
mov esi, dword [ebp - 0x138]
mov dword [ebp - 0xfc], esi
mov edi, eax
xor ecx, ecx
sub edi, esi
mov edx, 2
inc edi
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052bd85
add esp, 4
mov esi, eax
push dword [ebp - 0x120]
push dword [ebp - 0xfc]
push edi
mov edi, dword [ebp - 0xf4]
push esi
mov ecx, dword [edi + 0x580]
call fcn.004d8910
push esi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov byte [ebp - 4], 9
push esi
call fcn.0052bd8e
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x46cac2
cmp byte [ebp - 0xe9], 0
jne 0x46c7df
mov eax, dword [ebp - 0x130]
mov esi, dword [ebp - 0x11c]
cmp dword [eax + 0x14], 0x3c
lea edx, [esi - 1]
jne 0x46c6d6
mov edx, esi
cmp dword [ebp - 0x44], 8
mov ecx, dword [ebp - 0x58]
jae 0x46c6e2
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x46c6ee
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
call fcn.005578aa
add esp, 0xc
test eax, eax
jne 0x46cabf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x46c70d
lea eax, [ebp - 0x28]
mov ax, word [eax + esi*2 - 2]
cmp ax, word [ebp - 0x128]
je 0x46c72a
mov eax, dword [ebp - 0x130]
lea edi, [esi - 1]
cmp dword [eax + 0x14], 0x3c
jne 0x46c72c
mov edi, esi
mov esi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xf4]
lea eax, [edi + esi]
mov ecx, dword [ecx + 0x580]
push eax
push esi
push 0x870
call fcn.0040d9f0
mov eax, dword [ebp - 0xf4]
push 0x586904
mov ecx, dword [eax + 0x580]
call fcn.004da520
mov edx, dword [ebp - 0xf0]
lea eax, [edi + esi]
mov ecx, dword [ebp - 0x104]
cmp edx, ecx
jne 0x46c79a
mov ecx, dword [ebp - 0xf8]
cmp ecx, eax
jbe 0x46c78a
sub ecx, edi
mov dword [ebp - 0xf8], ecx
jmp 0x46c794
cmp ecx, esi
jbe 0x46c794
mov dword [ebp - 0xf8], esi
mov ecx, dword [ebp - 0x104]
cmp edx, dword [ebp - 0x10c]
jne 0x46c7cc
cmp ebx, eax
ja 0x46c7cc
cmp ebx, esi
jbe 0x46c7ce
mov ebx, esi
cmp esi, dword [ebp - 0x138]
jne 0x46c7ce
mov edi, dword [ebp - 0xf0]
cmp edi, ecx
je 0x46c7d4
inc dword [ebp - 0x12c]
lea ebx, [esi + 1]
jmp 0x46cbc9
sub ebx, edi
mov edi, dword [ebp - 0xf0]
inc dword [ebp - 0x12c]
jmp 0x46cbc9
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x46c7eb
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x46c7f7
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x118]
dec edx
push edx
push ecx
push eax
mov dword [ebp - 0x114], edx
call fcn.005578aa
add esp, 0xc
test eax, eax
jne 0x46c897
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0xe8]
dec edi
lea ecx, [ebp - 0xb8]
push edi
push 1
push eax
call fcn.0040c490
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xd0]
or dword [ebp - 0x108], 1
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x124]
push edi
inc ecx
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c490
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x108]
or ecx, 2
mov dword [ebp - 0x108], ecx
cmp dword [esi + 0x14], 8
jb 0x46c879
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x46c881
mov eax, dword [eax]
push edi
push esi
push eax
call fcn.005578aa
add esp, 0xc
mov byte [ebp - 0xfe], 1
test eax, eax
je 0x46c89e
mov byte [ebp - 0xfe], 0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x108]
test al, 2
je 0x46c8c9
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x108], eax
call fcn.004038c0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 4], 9
test al, 1
je 0x46c8e8
and eax, 0xfffffffe
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x108], eax
call fcn.004038c0
cmp byte [ebp - 0xfe], 0
je 0x46cab9
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov ecx, edx
cmp esi, 8
jae 0x46c905
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x128]
cmp word [ecx + edi*2 - 2], ax
jne 0x46c91e
mov dword [ebp - 0x114], edi
cmp esi, 8
jae 0x46c926
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x124]
sub ecx, esi
mov edi, esi
cmp word [edx + ecx*2], ax
je 0x46c93c
lea edi, [esi - 1]
mov esi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x114]
add eax, esi
push eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xf4]
push esi
push 0x870
mov ecx, dword [eax + 0x580]
call fcn.0040d9f0
mov eax, dword [ebp - 0xf4]
push 0x586904
mov ecx, dword [eax + 0x580]
call fcn.004da520
mov eax, dword [ebp - 0x120]
sub eax, edi
mov ecx, eax
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x114]
sub ecx, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0xf4]
push ecx
mov dword [ebp - 0xfc], ecx
push 0x870
mov ecx, dword [eax + 0x580]
call fcn.0040d9f0
mov eax, dword [ebp - 0xf4]
push 0x586904
mov ecx, dword [eax + 0x580]
call fcn.004da520
mov eax, dword [ebp - 0x104]
mov edx, dword [ebp - 0x134]
cmp dword [ebp - 0xf0], eax
jne 0x46ca20
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x13c]
jbe 0x46ca04
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
jmp 0x46ca26
cmp eax, edx
jbe 0x46ca16
mov eax, dword [ebp - 0x114]
sub dword [ebp - 0xf8], eax
jmp 0x46ca20
cmp eax, esi
jbe 0x46ca20
mov dword [ebp - 0xf8], esi
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x10c]
cmp dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0x13c]
jne 0x46ca9e
cmp ebx, dword [ebp - 0x120]
ja 0x46ca9e
cmp ebx, ecx
jbe 0x46ca59
mov edi, dword [ebp - 0xf0]
mov ebx, eax
inc dword [ebp - 0x12c]
jmp 0x46cbc9
cmp ebx, edx
jbe 0x46ca74
sub ebx, dword [ebp - 0x114]
mov edi, dword [ebp - 0xf0]
inc dword [ebp - 0x12c]
jmp 0x46cbc9
cmp ebx, esi
jbe 0x46caa8
mov ebx, esi
cmp esi, dword [ebp - 0x138]
jne 0x46caa8
mov edi, dword [ebp - 0xf0]
cmp edi, dword [ebp - 0x104]
je 0x46caae
inc dword [ebp - 0x12c]
lea ebx, [esi + 1]
jmp 0x46cbc9
mov eax, dword [ebp - 0x114]
add eax, edi
sub ebx, eax
mov edi, dword [ebp - 0xf0]
inc dword [ebp - 0x12c]
jmp 0x46cbc9
mov edi, dword [ebp - 0xf4]
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x46cbc3
cmp byte [ebp - 0xe9], 0
jne 0x46cb30
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x46cae0
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0xfc]
mov ecx, dword [edi + 0x580]
push eax
push esi
call fcn.004d9640
mov edi, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x11c]
cmp edi, dword [ebp - 0x104]
jne 0x46cb19
mov eax, dword [ebp - 0xf8]
cmp eax, esi
jb 0x46cb19
add eax, ecx
mov dword [ebp - 0xf8], eax
cmp edi, dword [ebp - 0x10c]
jne 0x46cb29
cmp ebx, esi
jb 0x46cbc9
add ebx, ecx
jmp 0x46cbc9
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x46cb3c
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0xfc]
mov ecx, dword [edi + 0x580]
push eax
push esi
call fcn.004d9640
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x46cb64
lea eax, [ebp - 0xb8]
mov ecx, dword [edi + 0x580]
push eax
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 0x118]
push eax
call fcn.004d9640
mov edi, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x118]
cmp edi, dword [ebp - 0x104]
jne 0x46cba3
mov eax, dword [ebp - 0xf8]
cmp eax, esi
jb 0x46cba3
add eax, ecx
mov dword [ebp - 0xf8], eax
cmp edi, dword [ebp - 0x10c]
jne 0x46cbb7
cmp ebx, dword [ebp - 0x120]
jbe 0x46cb21
mov eax, dword [ebp - 0x124]
add eax, ecx
add ebx, eax
jmp 0x46cbc9
mov edi, dword [ebp - 0xf0]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004038c0
inc edi
mov dword [ebp - 0xf0], edi
cmp edi, dword [ebp - 0x10c]
jle 0x46c5d1
mov esi, dword [ebp - 0xf8]
cmp byte [ebp - 0x10d], 0
je 0x46cc1a
push 0
push ebx
mov ebx, dword [ebp - 0xf4]
push 0x7e9
mov ecx, dword [ebx + 0x580]
call fcn.0040d9f0
push 0
push esi
push 0x85d
jmp 0x46cc27
push ebx
mov ebx, dword [ebp - 0xf4]
push esi
push 0x870
mov ecx, dword [ebx + 0x580]
call fcn.0040d9f0
mov ecx, dword [ebx + 0x580]
push 0
push 0
push 0x81f
call fcn.0040d9f0
cmp dword [ebp + 8], 1
jne 0x46cc62
cmp dword [ebp - 0x12c], 0
jne 0x46cc62
push 0
mov ecx, ebx
call fcn.0047c690
mov bl, al
jmp 0x46cc64
mov bl, 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.004038c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.004038c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004038c0
jmp 0x46cc8f
xor bl, bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x46cca8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x46ccda
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x46cd16
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov al, bl
mov dword [ebp - 0x90], 0
jmp 0x46cd39
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4