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

Disassembly:
mov eax, 0x4afdaa
call fcn.004a50c0
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.0046a4c3
xor ebx, ebx
cmp eax, ebx
jne 0x46dc48
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 0x46cda0
mov byte [esi + 0x78], 1
mov dword [ebp - 0x18], 1
jmp 0x46d1d8
cmp byte [esi + 0x85], 0
je 0x46d1a2
cmp byte [esi + 0x86], 0
je 0x46d1a2
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.0046a428
mov eax, dword [esi + 0x24]
and byte [esi + 0x22], 0
cmp eax, 0x6064b50
jne 0x46cf38
mov ecx, esi
mov byte [esi + 0x79], 1
call fcn.0046af73
mov edi, edx
mov ebx, eax
test edi, edi
ja 0x46ce05
jb 0x46d01f
cmp ebx, 0x2c
jb 0x46d01f
cmp edi, 0x40000000
jb 0x46ce1b
ja 0x46d01f
test ebx, ebx
jae 0x46d01f
lea eax, [ebp - 0x1b4]
push 0x2c
push eax
mov ecx, esi
call fcn.0046aeec
push 0x30
lea eax, [ebp - 0xfc]
push 0
push eax
call fcn.004a5426
and byte [ebp - 0xfc], 0
add esp, 0xc
lea eax, [ebp - 0x1b4]
lea ecx, [ebp - 0xfc]
push eax
call fcn.0046a25d
cmp dword [ebp - 0xf4], 0
jne 0x46d01f
cmp dword [ebp - 0xf0], 0
jne 0x46d01f
mov eax, dword [ebp - 0xec]
or eax, dword [ebp - 0xe8]
jne 0x46d01f
mov eax, dword [ebp - 0xe4]
or eax, dword [ebp - 0xe0]
jne 0x46d01f
mov eax, dword [ebp - 0xdc]
or eax, dword [ebp - 0xd8]
jne 0x46d01f
mov eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0xd0]
jne 0x46d01f
sub ebx, 0x2c
push 0
sbb edi, 0
mov ecx, esi
push edi
push ebx
call fcn.0046afd6
test eax, eax
jne 0x46dc48
mov ecx, esi
call fcn.0046af8b
cmp dword [esi + 0x24], 0x7064b50
jne 0x46d01f
lea eax, [ebp - 0x9c]
push 0x10
push eax
mov ecx, esi
call fcn.0046aeec
cmp dword [ebp - 0x9c], 0
jne 0x46d01f
cmp dword [ebp - 0x90], 0
jne 0x46d01f
mov eax, dword [ebp - 0x98]
or eax, dword [ebp - 0x94]
jne 0x46d01f
mov ecx, esi
call fcn.0046af8b
mov eax, dword [esi + 0x24]
cmp eax, 0x6054b50
je 0x46cf3f
jmp 0x46d01f
cmp eax, 0x6054b50
jne 0x46cfad
lea eax, [ebp - 0x9c]
push 0x12
push eax
mov ecx, esi
call fcn.0046aeec
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x188]
push eax
call fcn.0046a1d6
lea ecx, [ebp - 0x188]
call fcn.0046a885
test al, al
je 0x46d01f
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.0046a428
test eax, eax
jne 0x46dc48
mov ecx, esi
call fcn.0046af8b
mov edi, dword [ebp - 0x34]
xor ebx, ebx
jmp 0x46d1d8
lea ecx, [ebp - 0x174]
call fcn.0046b5da
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.0046b2de
test al, al
je 0x46d010
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.0046c0fe
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x46d037
mov ecx, esi
call fcn.0046af8b
jmp 0x46d037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.0046880a
push 1
pop eax
jmp 0x46dc48
and dword [ebp - 4], 0
push 1
pop eax
cmp dword [ebp - 0x18], eax
je 0x46d18e
cmp dword [ebp - 0x18], 0
je 0x46d064
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.0046880a
mov eax, dword [ebp - 0x18]
jmp 0x46dc48
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x46d076
mov dword [ebp - 0x18], eax
jmp 0x46d18e
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x38]
cmp eax, edx
jg 0x46d098
jl 0x46d08c
cmp ecx, edi
jae 0x46d098
mov dword [ebp - 0x18], 1
jmp 0x46d18e
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 0x46d0ca
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x174]
call fcn.0046dc59
jmp 0x46d145
and dword [ebp - 0x1c], 0
test ebx, ebx
jbe 0x46d08c
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 0x46d106
mov eax, dword [ecx + 0x48]
cmp eax, dword [ebp - 0x12c]
jne 0x46d106
mov eax, dword [ecx + 0x4c]
cmp eax, dword [ebp - 0x128]
jne 0x46d106
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0
je 0x46d124
cmp edx, dword [ebp - 0x24]
jb 0x46d124
jne 0x46d130
mov eax, dword [ecx + 0x4c]
cmp eax, edi
ja 0x46d130
jb 0x46d124
mov eax, dword [ecx + 0x48]
cmp eax, dword [ebp - 0x6c]
jae 0x46d130
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 0x46d0da
mov eax, dword [ebp - 0x3c]
cmp eax, 0xffffffff
je 0x46d08c
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov edx, dword [ecx + eax*4]
lea ecx, [ebp - 0x174]
call fcn.0046b63c
test al, al
je 0x46d08c
cmp byte [esi + 0x7b], 0
mov byte [esi + 0x6c], 1
je 0x46d17e
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
jmp 0x46d18e
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.0046880a
jmp 0x46cfa3
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.0046c0fe
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x46d1cc
mov ecx, esi
call fcn.0046af8b
jmp 0x46d1d8
mov eax, dword [ebp - 0x18]
cmp eax, 1
jne 0x46dc48
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 0x46d4bf
mov ecx, dword [ebp + 8]
call fcn.00468bac
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 0x46d282
cmp byte [esi + 0x85], bl
jne 0x46d263
cmp byte [esi + 0x87], bl
jne 0x46d242
push 1
pop edi
jmp 0x46db1c
cmp dword [esi + 0xac], ebx
jne 0x46d23a
push dword [esi + 0x4c]
push dword [esi + 0x48]
push ebx
mov ecx, esi
call fcn.0046a428
cmp eax, ebx
je 0x46d282
mov edi, eax
jmp 0x46db1c
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
je 0x46d277
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 0x46d251
mov dword [esi + 0x18], ebx
mov ecx, esi
mov dword [esi + 0x1c], ebx
call fcn.0046af8b
push dword [ebp + 8]
mov ecx, esi
mov byte [esi + 0x80], 1
call fcn.0046c238
cmp eax, ebx
jne 0x46d25c
mov edi, dword [esi + 0x24]
mov ebx, 0x2014b50
cmp edi, ebx
je 0x46d364
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x46d23a
cmp edi, 0x18
mov byte [ebp - 0x11], 1
jb 0x46d352
cmp edi, 0x100000
ja 0x46d352
mov ecx, esi
call fcn.0046af5f
test eax, eax
jne 0x46d352
and dword [ebp - 0x40], eax
and dword [ebp - 0x3c], eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00404549
push edi
mov ecx, esi
push dword [ebp - 0x40]
call fcn.0046aeec
mov ecx, esi
call fcn.0046af8b
mov eax, dword [ebp - 0x40]
cmp dword [esi + 0x24], ebx
lea eax, [eax + edi - 0x18]
jne 0x46d33f
mov edx, dword [eax]
xor ecx, ecx
cmp edx, edi
jne 0x46d33f
mov edx, dword [eax + 4]
cmp edx, ecx
jne 0x46d33f
push 0x10
add eax, 8
push str.APK_Sig_Block_42
push eax
call fcn.004a5284
add esp, 0xc
test eax, eax
jne 0x46d33f
and byte [ebp - 0x11], al
mov byte [esi + 0x7a], 1
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00401e30
cmp byte [ebp - 0x11], 0
pop ecx
je 0x46d364
mov byte [esi + 0x82], 1
mov byte [esi + 0x7c], 1
xor edi, edi
jmp 0x46db1c
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.0046b5da
and byte [ebp - 0x100], 0
lea eax, [ebp - 0x174]
mov ecx, esi
push eax
mov byte [ebp - 4], 7
call fcn.0046bad5
mov ebx, eax
test ebx, ebx
jne 0x46d452
lea ecx, [ebp - 0x4c]
call fcn.00411984
lea eax, [ebp - 0x174]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0046e281
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46d41c
test word [ebp - 0x48], 0xfff
jne 0x46d41c
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 0x46d452
mov ecx, esi
call fcn.0046af8b
cmp dword [esi + 0x24], 0x2014b50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x174]
jne 0x46d474
call fcn.0046880a
lea ecx, [ebp - 0x174]
call fcn.0046b5da
and byte [ebp - 0x100], 0
jmp 0x46d3ae
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 5
call fcn.0046880a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00468b5b
mov eax, ebx
jmp 0x46dc48
call fcn.0046880a
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 0x46d4bf
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 fcn.004a5426
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 0x46d5cc
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.0046af73
mov edi, edx
mov ebx, eax
test edi, edi
ja 0x46d53b
cmp ebx, 0x2c
jb 0x46d598
cmp edi, 0x40000000
ja 0x46d598
jb 0x46d549
test ebx, ebx
jae 0x46d598
lea eax, [ebp - 0x1b4]
push 0x2c
push eax
mov ecx, esi
call fcn.0046aeec
lea eax, [ebp - 0x1b4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0046a25d
mov eax, dword [ebp + 8]
sub ebx, 0x2c
sbb edi, 0
mov ecx, esi
push dword [eax + 4]
push edi
push ebx
call fcn.0046afd6
test eax, eax
jne 0x46d25c
mov ecx, esi
call fcn.0046af8b
cmp dword [esi + 0x24], 0x7064b50
je 0x46d5a3
xor edi, edi
mov byte [esi + 0x7c], 1
jmp 0x46db1c
lea eax, [ebp - 0x74]
push 0x10
push eax
mov ecx, esi
call fcn.0046aeec
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.0046af8b
mov edi, dword [ebp - 0x34]
cmp dword [esi + 0x24], 0x6054b50
jne 0x46dc36
and byte [esi + 0x22], 0
lea eax, [ebp - 0x74]
push 0x12
push eax
mov ecx, esi
call fcn.0046aeec
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x88]
push eax
call fcn.0046a1d6
mov cl, byte [ebp - 0x11]
test cl, cl
je 0x46d60b
cmp word [ebp - 0x88], 0xffff
je 0x46d618
movzx eax, word [ebp - 0x88]
mov dword [ebp - 0xc4], eax
test cl, cl
je 0x46d627
cmp word [ebp - 0x86], 0xffff
je 0x46d634
movzx eax, word [ebp - 0x86]
mov dword [ebp - 0xc0], eax
test cl, cl
je 0x46d643
cmp word [ebp - 0x84], 0xffff
je 0x46d657
movzx eax, word [ebp - 0x84]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
test cl, cl
je 0x46d666
cmp word [ebp - 0x82], 0xffff
je 0x46d67a
movzx eax, word [ebp - 0x82]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
test cl, cl
je 0x46d684
cmp dword [ebp - 0x80], 0xffffffff
je 0x46d694
mov eax, dword [ebp - 0x80]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], eax
test cl, cl
je 0x46d69e
cmp dword [ebp - 0x7c], 0xffffffff
je 0x46d6ae
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 0x46d6c1
and byte [ebp - 0x12], 0
test cl, cl
je 0x46d6f1
mov ecx, dword [ebp - 0xb4]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x46d6ed
cmp dword [ebp - 0xb0], eax
jne 0x46d6ed
cmp dword [ebp - 0xac], edx
jne 0x46d6ed
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x5c]
je 0x46d6f1
and byte [ebp - 0x12], 0
cmp byte [esi + 0x87], 0
je 0x46d71b
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x58], eax
je 0x46d709
mov byte [esi + 0x7c], 1
mov ebx, dword [ebp + 8]
cmp byte [ebp - 0x12], 0
jne 0x46d85d
jmp 0x46d859
cmp byte [ebp - 0x1d], 0
je 0x46d709
cmp byte [ebp - 0x12], 0
je 0x46d856
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 0x46d7a1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [esi + 0xa8]
jne 0x46d812
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 0x46d812
jl 0x46d772
cmp ecx, dword [ebp - 0x28]
ja 0x46d812
cmp byte [ebp - 0x13], 0
je 0x46d78c
cmp eax, dword [esi + 0x4c]
jl 0x46d78c
jg 0x46d80e
cmp ecx, dword [esi + 0x48]
ja 0x46d80e
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 0x46d812
cmp dword [ebp - 0x1c], 0
je 0x46d812
mov eax, dword [ebp - 0x58]
cmp eax, dword [esi + 0xa8]
jne 0x46d812
mov eax, dword [ebp - 0x30]
mov ecx, edi
sub ecx, dword [ebp - 0xa4]
sbb eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x30]
jg 0x46d80e
jl 0x46d7ce
cmp ecx, edi
ja 0x46d80e
cmp byte [ebp - 0x13], 0
je 0x46d7f4
cmp eax, dword [esi + 0x4c]
jl 0x46d7f4
jg 0x46d7e0
cmp ecx, dword [esi + 0x48]
jbe 0x46d7f4
sub ecx, edx
sbb eax, ebx
test ecx, ecx
mov dword [ebp - 0x30], eax
jne 0x46d80e
mov byte [esi + 0x83], 1
jmp 0x46d812
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 0x46d812
and byte [ebp - 0x12], 0
cmp byte [ebp - 0x13], 0
je 0x46d709
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 0x46d709
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebx + 4], ecx
jbe 0x46d70c
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 0x46d840
jmp 0x46d70c
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 0x46d8d3
xor edi, edi
cmp eax, edi
jne 0x46d8a1
cmp byte [esi + 0xa6], 0
lea ecx, [esi + 0xa6]
je 0x46d8a1
cmp byte [esi + 0xa2], 0
je 0x46d8a1
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 0x46d8ca
cmp dword [esi + 0x8c], edi
je 0x46d8ca
xor ecx, ecx
cmp dword [ebx + 4], edi
jbe 0x46d8ca
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 0x46d8b6
mov byte [esi + 0x88], 1
jmp 0x46d8d5
xor edi, edi
cmp byte [ebp - 0x11], 0
je 0x46d965
cmp dword [ebp - 0xc4], edi
jne 0x46d90b
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 0x46dc36
cmp dword [ebp - 0x24], ecx
jne 0x46dc36
mov ecx, dword [ebp - 0xb4]
xor eax, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x46dc36
cmp dword [ebp - 0xb0], eax
jne 0x46dc36
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x60]
jne 0x46dc36
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x5c]
jne 0x46dc36
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xa4], eax
jne 0x46d95c
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xa0], eax
je 0x46d965
cmp dword [ebx + 4], edi
jne 0x46dc36
cmp byte [ebp - 0x12], 0
je 0x46db69
cmp dword [ebp - 0x48], edi
je 0x46db69
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 0x46db2f
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x46d9d1
test word [ebp - 0x18], 0x3fff
jne 0x46d9d1
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 0x46db13
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 0x46da3a
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 4]
jae 0x46da3a
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x46da30
mov edx, dword [edi + 0x48]
mov eax, dword [ecx + 0x48]
mov ebx, dword [edi + 0x4c]
cmp eax, edx
jne 0x46da0f
mov eax, dword [ecx + 0x4c]
cmp eax, ebx
je 0x46da25
cmp byte [esi + 0x83], 0
je 0x46da30
mov ecx, dword [ecx + 0x48]
xor eax, eax
cmp ecx, edx
jne 0x46da30
cmp eax, ebx
jne 0x46da30
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x46da34
or dword [ebp - 0x2c], 0xffffffff
cmp dword [ebp - 0x24], 0xffffffff
jne 0x46da7d
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.0046dc59
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x46da7d
lea ecx, [ebp - 0x38]
call fcn.00411984
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 0x46d998
xor edi, edi
jmp 0x46db2f
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.0043d618
test al, al
jne 0x46da63
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x46da63
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x46da63
mov eax, dword [ebx + 8]
cmp eax, dword [edi + 8]
jne 0x46da63
mov eax, dword [ebx + 0xc]
cmp eax, dword [edi + 0xc]
jne 0x46da63
mov edx, edi
mov ecx, ebx
call fcn.0046b6dd
test al, al
je 0x46da63
mov eax, dword [ebx + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x46da63
mov ax, word [edi + 0x40]
lea ecx, [ebx + 0x50]
mov word [ebx + 0x40], ax
lea eax, [edi + 0x50]
push eax
call fcn.0046b77c
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.00422709
mov al, byte [edi + 0x69]
mov byte [ebx + 0x69], al
test byte [edi + 1], 8
je 0x46da67
or byte [ebx + 1], 8
jmp 0x46da67
push dword [ebp - 0x38]
call fcn.00401e30
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00468b5b
mov eax, edi
jmp 0x46dc48
cmp dword [ebp - 0x34], edi
jbe 0x46db57
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.00411984
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046e281
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x46db34
push dword [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00401e30
mov ebx, dword [ebp + 8]
pop ecx
xor edi, edi
mov cx, word [ebp - 0x82]
cmp cx, word [ebp - 0x84]
jae 0x46db7d
mov byte [esi + 0x7c], 1
cmp word [ebp - 0x88], di
jne 0x46db93
cmp cx, word [ebp - 0x84]
je 0x46db93
mov byte [esi + 0x7c], 1
cmp byte [ebp - 0x11], 0
mov eax, dword [ebx + 4]
je 0x46dbca
xor ecx, ecx
cmp dword [ebp - 0xb4], eax
jne 0x46dbc4
cmp dword [ebp - 0xb0], ecx
jne 0x46dbc4
movzx ecx, word [ebp - 0x82]
cmp ecx, eax
je 0x46dbfa
cmp word [ebp - 0x82], 0xffff
je 0x46dbfa
mov byte [esi + 0x7c], 1
jmp 0x46dbfa
movzx ecx, cx
cmp ecx, eax
jbe 0x46dbd5
mov byte [esi + 0x7c], 1
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp dword [ebp - 0xb4], ecx
jne 0x46dbea
cmp dword [ebp - 0xb0], eax
je 0x46dbfa
cmp word [ebp - 0xb4], cx
jne 0x46dbc4
mov byte [esi + 0x84], 1
movzx eax, word [ebp - 0x78]
push eax
lea eax, [esi + 0x70]
push eax
mov ecx, esi
call fcn.0046af33
mov ax, word [ebp - 0x1c]
and byte [esi + 0x20], 0
cmp word [ebp - 0xb4], ax
jne 0x46dc36
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x60]
jne 0x46dc36
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x54]
je 0x46dc3a
cmp dword [ebx + 4], edi
je 0x46dc3a
mov byte [esi + 0x7c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00468b5b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4