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

Disassembly:
mov eax, 0x4aa5aa
call fcn.0049fb10
sub esp, 0x1a8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x20000
mov dword [ebp - 0x3c], esi
call fcn.004688b2
xor ebx, ebx
cmp eax, ebx
jne 0x46c031
and byte [esi + 0x20], bl
and byte [ebp - 0x13], bl
xor edi, edi
cmp byte [esi + 0x110], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
je 0x46b189
mov byte [esi + 0x78], 1
mov dword [ebp - 0x18], 1
jmp 0x46b5c1
cmp byte [esi + 0x85], 0
je 0x46b58b
cmp byte [esi + 0x86], 0
je 0x46b58b
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
add eax, 4
adc ecx, ebx
push ecx
push eax
push dword [esi + 0x68]
mov ecx, esi
call fcn.00468817
mov eax, dword [esi + 0x24]
and byte [esi + 0x22], 0
cmp eax, 0x6064b50
jne 0x46b321
mov ecx, esi
mov byte [esi + 0x79], 1
call fcn.00469362
mov edi, edx
mov ebx, eax
test edi, edi
ja 0x46b1ee
jb 0x46b408
cmp ebx, 0x2c
jb 0x46b408
cmp edi, 0x40000000
jb 0x46b204
ja 0x46b408
test ebx, ebx
jae 0x46b408
lea eax, [ebp - 0x1b4]
push 0x2c
push eax
mov ecx, esi
call fcn.004692db
push 0x30
lea eax, [ebp - 0xfc]
push 0
push eax
call sub.MSVCRT.dll_memset
and byte [ebp - 0xfc], 0
add esp, 0xc
lea eax, [ebp - 0x1b4]
lea ecx, [ebp - 0xfc]
push eax
call fcn.0046864c
cmp dword [ebp - 0xf4], 0
jne 0x46b408
cmp dword [ebp - 0xf0], 0
jne 0x46b408
mov eax, dword [ebp - 0xec]
or eax, dword [ebp - 0xe8]
jne 0x46b408
mov eax, dword [ebp - 0xe4]
or eax, dword [ebp - 0xe0]
jne 0x46b408
mov eax, dword [ebp - 0xdc]
or eax, dword [ebp - 0xd8]
jne 0x46b408
mov eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0xd0]
jne 0x46b408
sub ebx, 0x2c
push 0
sbb edi, 0
mov ecx, esi
push edi
push ebx
call fcn.004693c5
test eax, eax
jne 0x46c031
mov ecx, esi
call fcn.0046937a
cmp dword [esi + 0x24], 0x7064b50
jne 0x46b408
lea eax, [ebp - 0x9c]
push 0x10
push eax
mov ecx, esi
call fcn.004692db
cmp dword [ebp - 0x9c], 0
jne 0x46b408
cmp dword [ebp - 0x90], 0
jne 0x46b408
mov eax, dword [ebp - 0x98]
or eax, dword [ebp - 0x94]
jne 0x46b408
mov ecx, esi
call fcn.0046937a
mov eax, dword [esi + 0x24]
cmp eax, 0x6054b50
je 0x46b328
jmp 0x46b408
cmp eax, 0x6054b50
jne 0x46b396
lea eax, [ebp - 0x9c]
push 0x12
push eax
mov ecx, esi
call fcn.004692db
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x188]
push eax
call fcn.004685c5
lea ecx, [ebp - 0x188]
call fcn.00468c74
test al, al
je 0x46b408
mov eax, dword [esi + 0x40]
mov byte [esi + 0x78], 1
push dword [esi + 0x4c]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x44]
mov ecx, esi
push dword [esi + 0x48]
mov dword [esi + 0x3c], eax
push dword [esi + 0x68]
call fcn.00468817
test eax, eax
jne 0x46c031
mov ecx, esi
call fcn.0046937a
mov edi, dword [ebp - 0x34]
xor ebx, ebx
jmp 0x46b5c1
lea ecx, [ebp - 0x174]
call fcn.004699bf
and byte [ebp - 0x100], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x174]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004696c3
test al, al
je 0x46b3f9
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 1
push dword [ebp + 8]
mov byte [esi + 0x78], 1
call fcn.0046a4e3
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x46b420
mov ecx, esi
call fcn.0046937a
jmp 0x46b420
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00466dd5
push 1
pop eax
jmp 0x46c031
and dword [ebp - 4], 0
push 1
pop eax
cmp dword [ebp - 0x18], eax
je 0x46b577
cmp dword [ebp - 0x18], 0
je 0x46b44d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00466dd5
mov eax, dword [ebp - 0x18]
jmp 0x46c031
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x46b45f
mov dword [ebp - 0x18], eax
jmp 0x46b577
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x38]
cmp eax, edx
jg 0x46b481
jl 0x46b475
cmp ecx, edi
jae 0x46b481
mov dword [ebp - 0x18], 1
jmp 0x46b577
sub ecx, edi
sbb eax, edx
or edi, 0xffffffff
cmp byte [esi + 0x7b], 0
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x6c], edi
jne 0x46b4b3
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x174]
call fcn.0046c042
jmp 0x46b52e
and dword [ebp - 0x1c], 0
test ebx, ebx
jbe 0x46b475
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
cmp edx, dword [ebp - 0x154]
jne 0x46b4ef
mov eax, dword [ecx + 0x48]
cmp eax, dword [ebp - 0x12c]
jne 0x46b4ef
mov eax, dword [ecx + 0x4c]
cmp eax, dword [ebp - 0x128]
jne 0x46b4ef
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0
je 0x46b50d
cmp edx, dword [ebp - 0x24]
jb 0x46b50d
jne 0x46b519
mov eax, dword [ecx + 0x4c]
cmp eax, edi
ja 0x46b519
jb 0x46b50d
mov eax, dword [ecx + 0x48]
cmp eax, dword [ebp - 0x6c]
jae 0x46b519
mov eax, dword [ecx + 0x48]
mov edi, dword [ecx + 0x4c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x6c], eax
inc dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x2c], 4
cmp ecx, dword [eax + 4]
jb 0x46b4c3
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x46b475
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov edx, dword [ecx + eax*4]
lea ecx, [ebp - 0x174]
call fcn.00469a21
test al, al
je 0x46b475
cmp byte [esi + 0x7b], 0
mov byte [esi + 0x6c], 1
je 0x46b567
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
jmp 0x46b577
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov dword [esi + 0x60], ecx
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x64], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00466dd5
jmp 0x46b38c
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [esi + 0x78], 1
push dword [ebp + 8]
call fcn.0046a4e3
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x46b5b5
mov ecx, esi
call fcn.0046937a
jmp 0x46b5c1
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x46c031
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 8]
and byte [ebp - 0x1d], 0
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
je 0x46b8a8
mov ecx, dword [ebp + 8]
call fcn.00467153
and byte [esi + 0x7c], 0
and byte [esi + 0x7d], 0
and byte [esi + 0x7e], 0
xor ebx, ebx
cmp byte [esi + 0x112], bl
mov dword [esi + 0x38], ebx
mov byte [ebp - 0x13], 1
mov byte [esi + 0x20], 1
mov dword [esi + 0x3c], ebx
jne 0x46b66b
cmp byte [esi + 0x85], bl
jne 0x46b64c
cmp byte [esi + 0x87], bl
jne 0x46b62b
push 1
pop edi
jmp 0x46bf05
cmp dword [esi + 0xac], ebx
jne 0x46b623
push dword [esi + 0x4c]
push dword [esi + 0x48]
push ebx
mov ecx, esi
call fcn.00468817
cmp eax, ebx
je 0x46b66b
mov edi, eax
jmp 0x46bf05
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
je 0x46b660
mov eax, dword [esi + 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x3c], eax
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x68]
jmp 0x46b63a
mov dword [esi + 0x18], ebx
mov ecx, esi
mov dword [esi + 0x1c], ebx
call fcn.0046937a
push dword [ebp + 8]
mov ecx, esi
mov byte [esi + 0x80], 1
call fcn.0046a61d
cmp eax, ebx
jne 0x46b645
mov edi, dword [esi + 0x24]
mov ebx, 0x2014b50
cmp edi, ebx
je 0x46b74d
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x46b623
cmp edi, 0x18
mov byte [ebp - 0x11], 1
jb 0x46b73b
cmp edi, 0x100000
ja 0x46b73b
mov ecx, esi
call fcn.0046934e
test eax, eax
jne 0x46b73b
and dword [ebp - 0x40], eax
and dword [ebp - 0x3c], eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040429a
push edi
mov ecx, esi
push dword [ebp - 0x40]
call fcn.004692db
mov ecx, esi
call fcn.0046937a
mov eax, dword [ebp - 0x40]
cmp dword [esi + 0x24], ebx
lea eax, [eax + edi - 0x18]
jne 0x46b728
mov edx, dword [eax]
xor ecx, ecx
cmp edx, edi
jne 0x46b728
mov edx, dword [eax + 4]
cmp edx, ecx
jne 0x46b728
push 0x10
add eax, 8
push str.APK_Sig_Block_42
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x46b728
and byte [ebp - 0x11], al
mov byte [esi + 0x7a], 1
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00401e40
cmp byte [ebp - 0x11], 0
pop ecx
je 0x46b74d
mov byte [esi + 0x82], 1
mov byte [esi + 0x7c], 1
xor edi, edi
jmp 0x46bf05
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
xor edx, edx
xor eax, eax
sub edi, ecx
lea ecx, [ebp - 0x174]
sbb eax, edx
add edi, dword [esi + 0x10]
mov byte [esi + 0x20], 1
adc eax, dword [esi + 0x14]
sub edi, 4
mov dword [ebp - 0x34], edi
sbb eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x68], eax
call fcn.004699bf
and byte [ebp - 0x100], 0
lea eax, [ebp - 0x174]
mov ecx, esi
push eax
mov byte [ebp - 4], 7
call fcn.00469eba
mov ebx, eax
test ebx, ebx
jne 0x46b83b
lea ecx, [ebp - 0x4c]
call fcn.004404d2
lea eax, [ebp - 0x174]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0046c6b2
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46b805
test word [ebp - 0x48], 0xfff
jne 0x46b805
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], ebx
lea edx, [ebp - 0x40]
mov eax, dword [eax + 4]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x46b83b
mov ecx, esi
call fcn.0046937a
cmp dword [esi + 0x24], 0x2014b50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x174]
jne 0x46b85d
call fcn.00466dd5
lea ecx, [ebp - 0x174]
call fcn.004699bf
and byte [ebp - 0x100], 0
jmp 0x46b797
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 5
call fcn.00466dd5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00467102
mov eax, ebx
jmp 0x46c031
call fcn.00466dd5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
sub eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x1d], 1
sbb ecx, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
sub ecx, dword [esi + 0x38]
mov dword [ebp - 0x1c], eax
sbb edx, dword [esi + 0x3c]
mov dword [ebp - 0x54], ecx
test eax, eax
mov dword [ebp - 0x50], edx
je 0x46b8a8
mov eax, dword [ebp - 0x4c]
mov byte [esi + 0x6c], 1
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov dword [esi + 0x60], ecx
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x64], eax
xor ebx, ebx
push 0x30
lea eax, [ebp - 0xcc]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
and byte [ebp - 0xcc], bl
and byte [ebp - 0x11], bl
add esp, 0xc
xor ecx, ecx
sub eax, edx
mov dword [ebp - 0x94], ebx
sbb ecx, ebx
add eax, dword [esi + 0x10]
mov dword [ebp - 0x90], ebx
adc ecx, dword [esi + 0x14]
sub eax, 4
mov dword [ebp - 0x28], eax
sbb ecx, ebx
or dword [ebp - 0x3c], 0xffffffff
cmp dword [esi + 0x24], 0x6064b50
mov dword [ebp - 0x24], ecx
jne 0x46b9b5
mov eax, dword [esi + 0x9c]
mov ecx, esi
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x11], 1
mov byte [esi + 0x79], 1
call fcn.00469362
mov edi, edx
mov ebx, eax
test edi, edi
ja 0x46b924
cmp ebx, 0x2c
jb 0x46b981
cmp edi, 0x40000000
ja 0x46b981
jb 0x46b932
test ebx, ebx
jae 0x46b981
lea eax, [ebp - 0x1b4]
push 0x2c
push eax
mov ecx, esi
call fcn.004692db
lea eax, [ebp - 0x1b4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0046864c
mov eax, dword [ebp + 8]
sub ebx, 0x2c
sbb edi, 0
mov ecx, esi
push dword [eax + 4]
push edi
push ebx
call fcn.004693c5
test eax, eax
jne 0x46b645
mov ecx, esi
call fcn.0046937a
cmp dword [esi + 0x24], 0x7064b50
je 0x46b98c
xor edi, edi
mov byte [esi + 0x7c], 1
jmp 0x46bf05
lea eax, [ebp - 0x74]
push 0x10
push eax
mov ecx, esi
call fcn.004692db
mov eax, dword [ebp - 0x70]
mov ecx, esi
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x90], eax
call fcn.0046937a
mov edi, dword [ebp - 0x34]
cmp dword [esi + 0x24], 0x6054b50
jne 0x46c01f
and byte [esi + 0x22], 0
lea eax, [ebp - 0x74]
push 0x12
push eax
mov ecx, esi
call fcn.004692db
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x88]
push eax
call fcn.004685c5
mov cl, byte [ebp - 0x11]
test cl, cl
je 0x46b9f4
cmp word [ebp - 0x88], 0xffff
je 0x46ba01
movzx eax, word [ebp - 0x88]
mov dword [ebp - 0xc4], eax
test cl, cl
je 0x46ba10
cmp word [ebp - 0x86], 0xffff
je 0x46ba1d
movzx eax, word [ebp - 0x86]
mov dword [ebp - 0xc0], eax
test cl, cl
je 0x46ba2c
cmp word [ebp - 0x84], 0xffff
je 0x46ba40
movzx eax, word [ebp - 0x84]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
test cl, cl
je 0x46ba4f
cmp word [ebp - 0x82], 0xffff
je 0x46ba63
movzx eax, word [ebp - 0x82]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
test cl, cl
je 0x46ba6d
cmp dword [ebp - 0x80], 0xffffffff
je 0x46ba7d
mov eax, dword [ebp - 0x80]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], eax
test cl, cl
je 0x46ba87
cmp dword [ebp - 0x7c], 0xffffffff
je 0x46ba97
mov eax, dword [ebp - 0x7c]
and dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0x12], 1
cmp dword [ebp - 0xac], edx
je 0x46baaa
and byte [ebp - 0x12], 0
test cl, cl
je 0x46bada
mov ecx, dword [ebp - 0xb4]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x46bad6
cmp dword [ebp - 0xb0], eax
jne 0x46bad6
cmp dword [ebp - 0xac], edx
jne 0x46bad6
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x5c]
je 0x46bada
and byte [ebp - 0x12], 0
cmp byte [esi + 0x87], 0
je 0x46bb04
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x58], eax
je 0x46baf2
mov byte [esi + 0x7c], 1
mov ebx, dword [ebp + 8]
cmp byte [ebp - 0x12], 0
jne 0x46bc46
jmp 0x46bc42
cmp byte [ebp - 0x1d], 0
je 0x46baf2
cmp byte [ebp - 0x12], 0
je 0x46bc3f
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], ebx
je 0x46bb8a
mov eax, dword [ebp - 0x3c]
cmp eax, dword [esi + 0xa8]
jne 0x46bbfb
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x94]
sbb eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x24]
jg 0x46bbfb
jl 0x46bb5b
cmp ecx, dword [ebp - 0x28]
ja 0x46bbfb
cmp byte [ebp - 0x13], 0
je 0x46bb75
cmp eax, dword [esi + 0x4c]
jl 0x46bb75
jg 0x46bbf7
cmp ecx, dword [esi + 0x48]
ja 0x46bbf7
mov dword [esi + 0x38], ecx
sub edi, ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x3c], eax
sbb ecx, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ecx
jmp 0x46bbfb
cmp dword [ebp - 0x1c], 0
je 0x46bbfb
mov eax, dword [ebp - 0x58]
cmp eax, dword [esi + 0xa8]
jne 0x46bbfb
mov eax, dword [ebp - 0x30]
mov ecx, edi
sub ecx, dword [ebp - 0xa4]
sbb eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x30]
jg 0x46bbf7
jl 0x46bbb7
cmp ecx, edi
ja 0x46bbf7
cmp byte [ebp - 0x13], 0
je 0x46bbdd
cmp eax, dword [esi + 0x4c]
jl 0x46bbdd
jg 0x46bbc9
cmp ecx, dword [esi + 0x48]
jbe 0x46bbdd
sub ecx, edx
sbb eax, ebx
test ecx, ecx
mov dword [ebp - 0x30], eax
jne 0x46bbf7
mov byte [esi + 0x83], 1
jmp 0x46bbfb
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x50], eax
jmp 0x46bbfb
and byte [ebp - 0x12], 0
cmp byte [ebp - 0x13], 0
je 0x46baf2
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
sub edx, dword [esi + 0x38]
sbb edi, dword [esi + 0x3c]
mov eax, edx
or eax, edi
je 0x46baf2
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebx + 4], ecx
jbe 0x46baf5
mov eax, dword [ebx]
mov eax, dword [eax + ecx*4]
add dword [eax + 0x48], edx
adc dword [eax + 0x4c], edi
inc ecx
cmp ecx, dword [ebx + 4]
jb 0x46bc29
jmp 0x46baf5
mov ebx, dword [ebp + 8]
mov byte [esi + 0x7c], 1
mov eax, dword [ebp - 0xc4]
cmp byte [esi + 0x87], 0
mov dword [esi + 0x8c], eax
jne 0x46bcbc
xor edi, edi
cmp eax, edi
jne 0x46bc8a
cmp byte [esi + 0xa6], 0
lea ecx, [esi + 0xa6]
je 0x46bc8a
cmp byte [esi + 0xa2], 0
je 0x46bc8a
lea eax, [esi + 0xc4]
mov dword [eax + 4], edi
mov eax, dword [eax]
mov word [eax], di
and byte [ecx], 0
cmp byte [ebp - 0x13], 0
je 0x46bcb3
cmp dword [esi + 0x8c], edi
je 0x46bcb3
xor ecx, ecx
cmp dword [ebx + 4], edi
jbe 0x46bcb3
mov eax, dword [ebx]
mov edx, dword [esi + 0x8c]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [eax + 0x20], edx
cmp ecx, dword [ebx + 4]
jb 0x46bc9f
mov byte [esi + 0x88], 1
jmp 0x46bcbe
xor edi, edi
cmp byte [ebp - 0x11], 0
je 0x46bd4e
cmp dword [ebp - 0xc4], edi
jne 0x46bcf4
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
add eax, dword [ebp - 0x94]
adc ecx, dword [ebp - 0x90]
cmp dword [ebp - 0x28], eax
jne 0x46c01f
cmp dword [ebp - 0x24], ecx
jne 0x46c01f
mov ecx, dword [ebp - 0xb4]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x46c01f
cmp dword [ebp - 0xb0], eax
jne 0x46c01f
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x60]
jne 0x46c01f
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x5c]
jne 0x46c01f
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xa4], eax
jne 0x46bd45
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xa0], eax
je 0x46bd4e
cmp dword [ebx + 4], edi
jne 0x46c01f
cmp byte [ebp - 0x12], 0
je 0x46bf52
cmp dword [ebp - 0x48], edi
je 0x46bf52
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 8
mov dword [ebp - 0x2c], edi
mov byte [esi + 0x81], 1
mov dword [ebp - 0x18], edi
jbe 0x46bf18
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46bdba
test word [ebp - 0x18], 0x3fff
jne 0x46bdba
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
and dword [ebp - 0x68], 0
mov eax, dword [eax + 4]
add edx, eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ecx]
lea edx, [esi + 0x18]
push edx
lea edx, [ebp - 0x6c]
push edx
push ecx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x46befc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 0x24], 0xffffffff
mov edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x46be23
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 4]
jae 0x46be23
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x46be19
mov edx, dword [edi + 0x48]
mov eax, dword [ecx + 0x48]
mov ebx, dword [edi + 0x4c]
cmp eax, edx
jne 0x46bdf8
mov eax, dword [ecx + 0x4c]
cmp eax, ebx
je 0x46be0e
cmp byte [esi + 0x83], 0
je 0x46be19
mov ecx, dword [ecx + 0x48]
xor eax, eax
cmp ecx, edx
jne 0x46be19
cmp eax, ebx
jne 0x46be19
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x46be1d
or dword [ebp - 0x2c], 0xffffffff
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46be66
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.0046c042
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x46be66
lea ecx, [ebp - 0x38]
call fcn.004404d2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x34]
mov dword [ecx + eax*4], edx
mov byte [esi + 0x7c], 1
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x48]
jb 0x46bd81
xor edi, edi
jmp 0x46bf18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
lea edx, [edi + 0x24]
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
lea ecx, [ebx + 0x24]
call fcn.0043cb74
test al, al
jne 0x46be4c
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x46be4c
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x46be4c
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 8]
jne 0x46be4c
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0xc]
jne 0x46be4c
mov edx, edi
mov ecx, ebx
call fcn.00469ac2
test al, al
je 0x46be4c
mov eax, dword [ebx + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x46be4c
mov ax, word [edi + 0x40]
lea ecx, [ebx + 0x50]
mov word [ebx + 0x40], ax
lea eax, [edi + 0x50]
push eax
call fcn.00469b61
mov ax, word [edi + 0x42]
lea ecx, [ebx + 0x60]
mov word [ebx + 0x42], ax
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x44], eax
lea eax, [edi + 0x60]
push eax
call fcn.00421e39
mov al, byte [edi + 0x69]
mov byte [ebx + 0x69], al
test byte [edi + 1], 8
je 0x46be50
or byte [ebx + 1], 8
jmp 0x46be50
push dword [ebp - 0x38]
call fcn.00401e40
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00467102
mov eax, edi
jmp 0x46c031
cmp dword [ebp - 0x34], edi
jbe 0x46bf40
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + edi*4]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [ebp + 8]
call fcn.004404d2
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046c6b2
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x46bf1d
push dword [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00401e40
mov ebx, dword [ebp + 8]
pop ecx
xor edi, edi
mov cx, word [ebp - 0x82]
cmp cx, word [ebp - 0x84]
jae 0x46bf66
mov byte [esi + 0x7c], 1
cmp word [ebp - 0x88], di
jne 0x46bf7c
cmp cx, word [ebp - 0x84]
je 0x46bf7c
mov byte [esi + 0x7c], 1
cmp byte [ebp - 0x11], 0
mov eax, dword [ebx + 4]
je 0x46bfb3
xor ecx, ecx
cmp dword [ebp - 0xb4], eax
jne 0x46bfad
cmp dword [ebp - 0xb0], ecx
jne 0x46bfad
movzx ecx, word [ebp - 0x82]
cmp ecx, eax
je 0x46bfe3
cmp word [ebp - 0x82], 0xffff
je 0x46bfe3
mov byte [esi + 0x7c], 1
jmp 0x46bfe3
movzx ecx, cx
cmp ecx, eax
jbe 0x46bfbe
mov byte [esi + 0x7c], 1
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp dword [ebp - 0xb4], ecx
jne 0x46bfd3
cmp dword [ebp - 0xb0], eax
je 0x46bfe3
cmp word [ebp - 0xb4], cx
jne 0x46bfad
mov byte [esi + 0x84], 1
movzx eax, word [ebp - 0x78]
push eax
lea eax, [esi + 0x70]
push eax
mov ecx, esi
call fcn.00469322
mov ax, word [ebp - 0x1c]
and byte [esi + 0x20], 0
cmp word [ebp - 0xb4], ax
jne 0x46c01f
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x60]
jne 0x46c01f
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x54]
je 0x46c023
cmp dword [ebx + 4], edi
je 0x46c023
mov byte [esi + 0x7c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00467102
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4