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

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x1010b463
call fcn.100f4ca8
sub esp, 0x23c
push ebx
push esi
mov esi, dword [ebp + 0x74]
lea eax, [ebp - 0x14]
push edi
mov edi, ecx
mov ecx, esi
push eax
mov dword [ebp + 0x2c], edi
lea edx, [edi + 0x20]
call fcn.1000d3fa
test eax, eax
jne 0x1002284f
push 0x200
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.1000d527
test eax, eax
jne 0x1002284f
push 0xc
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x4b], al
lea eax, [ebp - 0x248]
push str.koly
push eax
call fcn.100f5f93
mov esi, dword [edi + 0x20]
xor ebx, ebx
mov ecx, dword [edi + 0x24]
or edx, 0xffffffff
add esp, 0xc
mov dword [ebp + 0x4c], esi
inc ebx
mov dword [ebp + 0x3c], ecx
mov dword [ebp], edx
test eax, eax
je 0x100220e9
or esi, ecx
jne 0x1002284d
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov esi, dword [ebp - 0x14]
cmp ecx, eax
ja 0x1002208b
cmp esi, 0x200
jb 0x1002284d
add esi, 0xfffffe00
push 0
adc ecx, edx
mov dword [ebp + 0x4c], esi
mov edx, dword [ebp + 0x74]
push 0
push ecx
push esi
mov eax, dword [edx]
push edx
mov dword [ebp + 0x3c], ecx
call dword [eax + 0x10]
test eax, eax
jne 0x1002284f
mov ecx, dword [ebp + 0x74]
lea edx, [ebp - 0x248]
push 0x200
call fcn.1000d527
test eax, eax
jne 0x1002284f
push 0xc
lea eax, [ebp - 0x248]
push str.koly
push eax
call fcn.100f5f93
add esp, 0xc
test eax, eax
jne 0x1002284d
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [edi + 0x40]
call fcn.10023110
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [edi + 0x50]
call fcn.10023110
push 0x10
lea eax, [ebp - 0x208]
push eax
lea eax, [edi + 0x88]
push eax
call fcn.100f7620
add esp, 0xc
lea ecx, [ebp - 0x1f8]
push ecx
lea ecx, [edi + 0x98]
call fcn.10022e3e
lea eax, [edi + 0x60]
lea ecx, [ebp - 0x170]
mov dword [ebp + 0x5c], eax
push ecx
mov ecx, eax
call fcn.10023110
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [edi + 0x70]
call fcn.10023110
lea eax, [ebp - 0xe8]
push eax
lea ecx, [edi + 0x120]
call fcn.10022e3e
cmp dword [edi + 0x40], 0x200
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
bswap eax
bswap ecx
mov dword [edi + 0x80], eax
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x84], ecx
jne 0x100221be
xor ecx, ecx
cmp dword [edi + 0x44], ecx
jne 0x100221be
mov edx, esi
mov ecx, eax
add edx, 0x200
mov dword [ebp + 0x68], edx
adc ecx, 0
mov dword [ebp + 0x50], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x38], ecx
cmp dword [ebp + 0x50], ecx
ja 0x100221be
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0x60], ecx
jb 0x100221b9
cmp edx, ecx
jae 0x100221be
mov byte [ebp + 0x4b], bl
jmp 0x100221d9
mov edx, esi
mov dword [ebp + 0x38], eax
add edx, 0x200
mov ecx, esi
push 0
mov dword [ebp + 0x68], edx
pop edx
adc eax, edx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x40]
xorps xmm0, xmm0
push eax
push dword [ebp + 0x38]
movlpd qword [ebp + 0x40], xmm0
push ecx
lea ecx, [edi + 0x40]
call fcn.100238d3
test al, al
je 0x1002284d
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x60]
push dword [ebp + 0x60]
call fcn.100238d3
test al, al
je 0x1002284d
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x50]
push dword [ebp + 0x60]
call fcn.100238d3
test al, al
je 0x1002284d
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x70]
push dword [ebp + 0x60]
call fcn.100238d3
cmp byte [ebp + 0x4b], 0
mov byte [ebp + 0x67], al
je 0x1002225b
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
mov dword [edi + 0x28], ecx
xor ecx, ecx
mov dword [edi + 0x2c], edx
jmp 0x10022341
mov eax, dword [ebp + 0x68]
xor ecx, ecx
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x50]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
cmp dword [ebp + 0x40], esi
jne 0x10022280
cmp eax, dword [ebp + 0x3c]
je 0x1002233e
mov esi, dword [ebp + 0x5c]
lea edi, [ebp + 4]
push str.__xml_version
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100fa500
mov edx, dword [ebp + 0x10]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp + 0x5c], ecx
cmp edx, eax
jb 0x100222ba
ja 0x100222ac
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jbe 0x100222bd
xor edi, edi
mov eax, ecx
mov edx, edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
jmp 0x100222bf
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, edi
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x54], esi
mov dword [ebp - 4], edi
cmp edx, edi
jb 0x10022307
ja 0x100222d4
cmp eax, ecx
jb 0x10022307
mov edi, dword [ebp + 0x2c]
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 4]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.10023757
mov esi, dword [ebp + 0x54]
test eax, eax
jne 0x1002230a
push dword [ebp + 0x5c]
push str.__xml_version
push esi
call fcn.100f5f93
add esp, 0xc
test eax, eax
je 0x10022331
jmp 0x1002230a
mov edi, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x44]
sbb ecx, edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x40]
add eax, 0x200
mov dword [edi + 0x24], ecx
push 0
pop ecx
adc edx, ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], edx
or dword [ebp - 4], 0xffffffff
push esi
call fcn.100f4c7e
pop ecx
xor ecx, ecx
mov al, byte [ebp + 0x67]
mov dword [ebp + 0x1c], 0x100
mov edx, 0x1000000
test al, al
je 0x1002247f
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x1002247f
cmp dword [edi + 0x7c], ecx
ja 0x1002247f
jb 0x10022375
cmp dword [edi + 0x78], edx
ja 0x1002247f
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x58], ecx
lea eax, [ebp + 0x54]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x70]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.10023757
mov esi, eax
test esi, esi
je 0x100223a6
push dword [ebp + 0x54]
call fcn.100f4c7e
pop ecx
mov eax, esi
jmp 0x1002284f
cmp dword [ebp + 0x58], 0xc
mov esi, dword [ebp + 0x54]
jb 0x10022471
mov eax, dword [esi]
bswap eax
cmp eax, 0xfade0cc0
jne 0x10022474
mov ecx, dword [esi + 4]
bswap ecx
mov dword [ebp + 0x50], ecx
cmp ecx, dword [ebp + 0x58]
jne 0x10022471
mov edx, dword [esi + 8]
lea eax, [ecx - 0xc]
bswap edx
shr eax, 3
cmp edx, eax
ja 0x10022471
push 0xc
lea edx, [edx*8 + 0xc]
pop eax
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x68], eax
cmp edx, eax
jbe 0x10022474
mov edx, dword [eax + esi + 4]
bswap edx
cmp edx, dword [ebp + 0x4c]
jb 0x10022471
lea eax, [ecx - 8]
cmp edx, eax
ja 0x10022471
lea eax, [esi + edx]
mov ecx, dword [eax]
bswap ecx
mov dword [ebp + 0x5c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x50]
bswap ecx
sub eax, edx
cmp eax, ecx
jb 0x10022471
cmp ecx, 8
jb 0x10022471
cmp dword [ebp + 0x5c], 0xfade0c02
jne 0x1002245e
cmp ecx, 0x2c
jb 0x10022471
mov edx, dword [ebp + 0x34]
mov eax, dword [edx + 0x14]
bswap eax
cmp eax, ecx
jae 0x10022471
sub ecx, eax
cmp ecx, 0x100
cmova ecx, dword [ebp + 0x1c]
add eax, edx
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.1000362c
mov eax, dword [ebp + 0x68]
add eax, 8
mov dword [ebp + 0x68], eax
cmp eax, dword [ebp + 0x4c]
jae 0x10022474
mov ecx, dword [ebp + 0x50]
jmp 0x100223fa
mov byte [edi + 0xd], bl
or dword [ebp - 4], 0xffffffff
push esi
call fcn.100f4c7e
pop ecx
xorps xmm0, xmm0
lea eax, [edi + 0x98]
cmp dword [eax], 2
movlpd qword [ebp + 0x14], xmm0
movlpd qword [ebp + 0x20], xmm0
jne 0x100224a9
cmp dword [eax + 4], 0x20
jne 0x100224a9
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ecx
mov eax, dword [edi + 0x68]
or eax, dword [edi + 0x6c]
jne 0x10022863
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x5c]
add ecx, 0xffffff00
adc eax, 0xffffffff
xor edx, edx
cmp eax, edx
ja 0x1002284d
jb 0x100224dc
cmp ecx, 0xffff00
ja 0x1002284d
mov byte [edi + 0xf], bl
mov dword [ebp + 0x54], edx
mov dword [ebp + 0x58], edx
lea eax, [ebp + 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [edi + 0x50]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.10023757
test eax, eax
jne 0x10022842
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
mov dword [ebp + 0x60], ecx
mov ecx, 0x100
bswap eax
bswap edx
mov dword [ebp + 0x3c], edx
bswap esi
cmp eax, ecx
jne 0x10022840
mov edx, dword [edi + 0x5c]
xor eax, eax
mov ecx, dword [edi + 0x58]
cmp eax, edx
ja 0x10022840
jb 0x10022551
cmp esi, ecx
jae 0x10022840
cmp eax, edx
ja 0x10022840
mov eax, dword [ebp + 0x3c]
jb 0x1002255e
cmp eax, ecx
jae 0x10022840
cmp esi, eax
jb 0x10022840
add eax, 0x100
cmp esi, eax
jne 0x10022840
mov eax, dword [ebp + 0x60]
lea edi, [eax + esi]
mov dword [ebp + 0x5c], edi
cmp edi, ecx
mov edi, dword [ebp + 0x2c]
jne 0x1002258c
cmp dword [ebp + 0x30], edx
je 0x1002282b
sub ecx, esi
sbb edx, 0
test edx, edx
jb 0x10022844
ja 0x100225a3
cmp ecx, eax
jb 0x10022844
sub ecx, eax
push 0
pop eax
sbb edx, eax
cmp ecx, 4
jne 0x10022844
cmp edx, eax
jne 0x10022844
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x5c]
mov eax, dword [ecx + eax]
bswap eax
test eax, eax
jne 0x10022844
mov eax, dword [ebp + 0x60]
cmp eax, 0x1e
jb 0x10022844
add esi, ecx
push 0x10
push esi
push ecx
mov dword [ebp - 0x20], esi
call fcn.100f5f93
add esp, 0xc
test eax, eax
jne 0x10022844
movzx ecx, byte [esi + 0x18]
movzx eax, byte [esi + 0x19]
shl cx, 8
or cx, ax
cmp cx, 0x1c
jne 0x10022844
movzx edx, byte [esi + 0x1a]
movzx eax, byte [esi + 0x1b]
shl edx, 8
or edx, eax
mov dword [ebp + 0x5c], edx
cmp edx, dword [ebp + 0x60]
ja 0x10022844
movzx ecx, byte [esi + 0x1c]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
inc ecx
mov dword [ebp + 0x44], ecx
lea eax, [ecx*8 + 0x1e]
cmp eax, edx
ja 0x10022844
xor eax, eax
mov dword [ebp + 0x68], eax
test ecx, ecx
je 0x10022817
lea eax, [esi + 0x23]
mov dword [ebp + 0x38], eax
mov eax, dword [eax - 5]
bswap eax
cmp eax, 0x626c6b78
jne 0x10022802
mov eax, dword [ebp + 0x38]
movzx edi, byte [eax - 1]
movzx eax, byte [eax]
shl edi, 8
or edi, eax
inc edi
mov dword [ebp + 0x4c], edi
mov edi, dword [ebp + 0x38]
movzx eax, byte [edi + 1]
shl eax, 8
mov dword [ebp + 0x50], eax
movzx eax, byte [edi + 2]
mov edi, dword [ebp + 0x50]
or edi, eax
imul eax, dword [ebp + 0x4c], 0xc
mov dword [ebp + 0x50], edi
add eax, 0x1c
add eax, edi
mov edi, dword [ebp + 0x2c]
cmp eax, edx
ja 0x10022844
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x4c], eax
jbe 0x10022802
mov edx, dword [ebp + 0x50]
add edx, 0x1f
add edx, esi
mov dword [ebp + 0x34], edx
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x30], ecx
mov ecx, dword [edx + 1]
mov edx, dword [ebp + 0x3c]
bswap ecx
and ecx, 0xffffff
mov dword [ebp + 0x28], ecx
lea eax, [ecx + 4]
cmp eax, edx
jae 0x10022844
mov eax, dword [ebp + 0x54]
mov eax, dword [eax + ecx + 0x100]
bswap eax
mov dword [ebp + 0x50], eax
mov eax, edx
sub eax, ecx
sub eax, 4
cmp eax, dword [ebp + 0x50]
jb 0x10022844
lea ecx, [ebp + 8]
call fcn.100020e7
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 3
cmp ecx, 0xffff
je 0x10022796
mov edx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
sub edx, eax
cmp ecx, edx
jae 0x10022835
add eax, ecx
sub edx, ecx
add eax, esi
mov dword [ebp - 0x18], eax
movzx eax, byte [eax]
mov dword [ebp - 0x1c], eax
cmp edx, eax
jbe 0x10022835
mov dword [ebp + 0x30], ebx
cmp eax, ebx
jb 0x10022796
mov ecx, dword [ebp + 0xc]
mov edi, ebx
mov esi, dword [ebp - 0x18]
mov ebx, eax
mov al, byte [edi + esi]
mov byte [ebp + 0x67], al
sub al, 0x20
cmp al, 0x5f
ja 0x1002278d
cmp dword [ebp + 0x10], ecx
jne 0x10022776
lea ecx, [ebp + 8]
call fcn.10002cc1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [ebp + 0x67]
mov byte [eax + ecx], dl
inc ecx
xor edx, edx
inc edi
mov byte [eax + ecx], dl
mov dword [ebp + 0xc], ecx
cmp edi, ebx
jbe 0x1002275a
mov edi, dword [ebp + 0x2c]
xor ebx, ebx
mov esi, dword [ebp - 0x20]
inc ebx
lea ecx, [edi + 0x14]
call fcn.100204b5
lea ecx, [ebp + 8]
mov dword [ebp + 0x30], eax
push ecx
lea ecx, [eax + 0x48]
call fcn.1000233e
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x50]
mov ecx, dword [ebp + 0x28]
add eax, 0x104
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x30]
call fcn.10022e68
test eax, eax
jne 0x10022833
mov eax, dword [ebp + 0x30]
cmp byte [eax + 0x44], 0
jne 0x100227d6
mov byte [edi + 0xd], bl
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.100f4c7e
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x34]
inc eax
add edx, 0xc
mov dword [ebp + 0x1c], eax
pop ecx
mov dword [ebp + 0x34], edx
cmp eax, dword [ebp + 0x4c]
jb 0x100226c1
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x38]
inc dword [ebp + 0x68]
add eax, 8
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x68], ecx
jb 0x10022658
push dword [ebp + 0x54]
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.100f4c7e
pop ecx
jmp 0x10022b23
mov ecx, dword [ebp + 0x54]
jmp 0x100225d1
mov ebx, eax
push dword [ebp + 8]
call fcn.100f4c7e
pop ecx
jmp 0x10022844
mov eax, ebx
mov ebx, eax
push dword [ebp + 0x54]
call fcn.100f4c7e
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x6c
leave
ret 8
xor eax, eax
cmp dword [edi + 0x6c], eax
ja 0x1002284d
jb 0x10022875
cmp dword [edi + 0x68], 0x7fffff00
ja 0x1002284d
mov edx, dword [edi + 0x20]
add edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x24]
adc ecx, dword [edi + 0x64]
mov eax, dword [ebp + 0x74]
mov esi, dword [edi + 0x68]
push 0
push 0
mov eax, dword [eax]
push ecx
push edx
push dword [ebp + 0x74]
mov dword [ebp + 0x68], esi
call dword [eax + 0x10]
test eax, eax
jne 0x1002284f
lea ecx, [ebp - 0x48]
call fcn.100038fd
add dword [ebp + 0x14], esi
mov ecx, dword [ebp + 0x78]
push 0
pop eax
adc dword [ebp + 0x18], eax
mov dword [ebp - 4], 4
test ecx, ecx
je 0x100228d5
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x10022963
mov esi, dword [ebp + 0x68]
mov dword [ebp + 0x4c], eax
lea ecx, [ebp + 0x44]
lea eax, [esi + 1]
push eax
call fcn.100041bf
mov ecx, 0x1000000
mov byte [ebp - 4], 5
cmp esi, ecx
mov eax, esi
mov esi, dword [ebp + 0x44]
mov edx, esi
cmova eax, ecx
jmp 0x10022946
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x4c]
add ecx, eax
add dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x68]
push 0
pop edx
adc dword [ebp + 0x24], edx
mov dword [ebp + 0x4c], ecx
cmp ecx, eax
je 0x10022970
mov edx, dword [ebp + 0x78]
test edx, edx
je 0x10022937
mov eax, dword [edx]
lea ecx, [ebp + 0x20]
push ecx
xor ecx, ecx
push ecx
push edx
call dword [eax + 0x10]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x10022959
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x4c]
mov edx, 0x1000000
sub eax, ecx
cmp eax, edx
cmova eax, edx
lea edx, [esi + ecx]
mov ecx, dword [ebp + 0x74]
push eax
mov dword [ebp + 0x5c], eax
call fcn.1000d527
mov dword [ebp + 0x60], eax
test eax, eax
je 0x100228fb
mov ecx, esi
call fcn.100d0bb0
mov esi, dword [ebp + 0x60]
lea ecx, [ebp - 0x48]
call fcn.10003983
jmp 0x1002239f
push esi
lea ecx, [ebp - 0x48]
mov byte [esi + eax], dl
call fcn.10003e15
test al, al
jne 0x10022985
mov dword [ebp + 0x60], ebx
jmp 0x10022959
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.100d0bb0
push str.plist
push dword [ebp - 0x48]
call fcn.100fa470
pop ecx
pop ecx
test eax, eax
je 0x100229a7
mov esi, ebx
jmp 0x10022963
mov esi, str.dict
lea ecx, [ebp - 0x48]
push esi
call fcn.10003cd7
test eax, eax
je 0x100229a3
push esi
mov edx, str.resource_fork
mov ecx, eax
call fcn.10021506
test eax, eax
je 0x100229a3
push str.array
mov edx, str.blkx
mov ecx, eax
call fcn.10021506
mov dword [ebp + 0x28], eax
test eax, eax
je 0x100229a3
xor edx, edx
mov ecx, edx
mov dword [ebp + 0x34], ecx
cmp dword [eax + 0x20], edx
jbe 0x10022b15
mov eax, dword [eax + 0x1c]
push str.dict
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.10003dcc
test al, al
je 0x10022b02
xor eax, eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
push str.data
mov edx, str.Data
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.10021506
test eax, eax
je 0x10022bdd
mov ecx, eax
call fcn.10003d9b
mov esi, eax
test esi, esi
je 0x10022bdd
mov ecx, dword [esi + 4]
shr ecx, 2
imul ecx, ecx, 3
add ecx, 4
push ecx
lea ecx, [ebp + 0x54]
call fcn.100049f4
mov edx, dword [esi]
mov esi, dword [ebp + 0x54]
mov ecx, esi
call fcn.1001a338
test eax, eax
je 0x10022bdd
sub eax, esi
lea ecx, [edi + 0x14]
mov dword [ebp + 0x44], eax
call fcn.100204b5
mov ecx, dword [ebp + 0x5c]
mov edx, str.Name
push str.string
mov dword [ebp + 0x68], eax
call fcn.10021506
test eax, eax
je 0x10022aa6
mov ecx, eax
call fcn.10003d9b
test eax, eax
je 0x10022aa6
xor ecx, ecx
cmp dword [eax + 4], ecx
jne 0x10022acb
mov ecx, dword [ebp + 0x5c]
mov edx, str.CFName
push str.string
call fcn.10021506
test eax, eax
je 0x10022ac5
mov ecx, eax
call fcn.10003d9b
jmp 0x10022ac7
xor eax, eax
test eax, eax
je 0x10022ad7
mov ecx, dword [ebp + 0x68]
push eax
add ecx, 0x48
call fcn.1000233e
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x68]
push esi
call fcn.10022e68
mov esi, eax
test esi, esi
jne 0x10022bdf
mov eax, dword [ebp + 0x68]
cmp byte [eax + 0x44], 0
jne 0x10022af9
mov byte [edi + 0xd], bl
push dword [ebp + 0x54]
call fcn.100f4c7e
pop ecx
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x28]
inc ecx
mov dword [ebp + 0x34], ecx
cmp ecx, dword [eax + 0x20]
jb 0x100229f2
or esi, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.10003983
cmp dword [edi + 0x120], 2
jne 0x10022b96
cmp dword [edi + 0x124], 0x20
jne 0x10022b96
xor eax, eax
mov ecx, esi
mov esi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10022b80
mov dword [ebp + 0x44], eax
mov ebx, eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
mov dword [ebp + 0x44], eax
mov edx, dword [eax + 0x58]
mov eax, ebx
test dl, 7
jne 0x10022b7d
shr edx, 3
cmp edx, 0x80
ja 0x10022b7d
push edx
mov edx, dword [ebp + 0x44]
add edx, 0x5c
call fcn.100f2810
mov ecx, eax
inc esi
mov eax, dword [edi + 0x18]
mov ebx, eax
cmp esi, eax
jb 0x10022b47
xor ebx, ebx
inc ebx
cmp esi, eax
jne 0x10022b96
mov eax, dword [edi + 0x128]
not ecx
bswap eax
cmp ecx, eax
setne al
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x18]
lea esi, [edi + 0xd]
mov dword [ebp + 0x34], eax
xorps xmm0, xmm0
movlpd qword [ebp + 0x54], xmm0
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
test eax, eax
je 0x10022c17
mov eax, dword [edi + 0x14]
mov dword [ebp + 0x5c], eax
mov eax, dword [eax]
cmp dword [eax + 0x30], ecx
jne 0x10022bc3
cmp dword [eax + 0x34], edx
je 0x10022bc8
lea esi, [edi + 0xd]
mov byte [esi], bl
cmp dword [eax + 0x3c], 0x400000
jb 0x10022bed
ja 0x10022bd9
cmp dword [eax + 0x38], 0
jb 0x10022bed
mov byte [esi], bl
jmp 0x10022bf0
mov esi, ebx
push dword [ebp + 0x54]
call fcn.100f4c7e
pop ecx
jmp 0x10022963
lea esi, [edi + 0xd]
add ecx, dword [eax + 0x38]
adc edx, dword [eax + 0x3c]
cmp edx, 0x400000
jb 0x10022c08
ja 0x10022c06
xor eax, eax
cmp ecx, eax
jb 0x10022c08
mov byte [esi], bl
mov eax, dword [ebp + 0x5c]
add eax, 4
sub dword [ebp + 0x34], 1
mov dword [ebp + 0x5c], eax
jne 0x10022bb7
cmp ecx, dword [edi + 0x80]
jne 0x10022c27
cmp edx, dword [edi + 0x84]
je 0x10022c29
mov byte [esi], bl
cmp dword [edi + 0x98], 2
jne 0x10022dd8
cmp dword [edi + 0x9c], 0x20
jne 0x10022dd8
lea eax, [ebp + 0x54]
push eax
lea ecx, [edi + 0x40]
call fcn.10021a06
test al, al
je 0x10022dd6
cmp dword [edi + 0x44], 0x80000000
ja 0x10022dd6
jb 0x10022c71
xor eax, eax
cmp dword [edi + 0x40], eax
jae 0x10022dd6
mov esi, dword [edi + 0x20]
add esi, dword [edi + 0x40]
mov eax, dword [edi + 0x24]
adc eax, dword [edi + 0x44]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x44], eax
cmp eax, ecx
ja 0x10022dd1
mov eax, dword [ebp - 0x14]
jb 0x10022c98
cmp esi, eax
ja 0x10022dd1
sub eax, dword [edi + 0x20]
sbb ecx, dword [edi + 0x24]
cmp dword [ebp + 0x58], ecx
ja 0x10022dd1
jb 0x10022cb2
cmp dword [ebp + 0x54], eax
ja 0x10022dd1
push 0x8000
lea ecx, [ebp + 0x28]
call fcn.100041bf
mov ecx, dword [ebp + 0x74]
xor edx, edx
push edx
push edx
push dword [ebp + 0x44]
mov eax, dword [ecx]
push esi
push ecx
mov dword [ebp - 4], 7
call dword [eax + 0x10]
mov esi, dword [ebp + 0x28]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x10022dc2
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x10022d04
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0xc]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x10022dc2
xorps xmm0, xmm0
movlpd qword [ebp + 0x54], xmm0
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp + 0x54]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
sub ecx, edx
mov edx, 0x8000
sbb eax, dword [ebp + 0x4c]
mov eax, edx
mov dword [ebp + 0x68], eax
jne 0x10022d3e
jb 0x10022d35
cmp ecx, edx
jae 0x10022d3e
mov eax, ecx
mov dword [ebp + 0x68], eax
test eax, eax
je 0x10022da5
mov ecx, dword [ebp + 0x74]
mov edx, esi
push eax
call fcn.1000d527
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x10022dc2
push dword [ebp + 0x68]
mov ecx, dword [ebp]
mov edx, esi
call fcn.100f2810
mov edx, dword [ebp + 0x50]
mov dword [ebp], eax
mov eax, dword [ebp + 0x68]
add edx, eax
push 0
pop ecx
adc dword [ebp + 0x4c], ecx
add dword [ebp + 0x20], eax
mov eax, edx
mov dword [ebp + 0x50], edx
adc dword [ebp + 0x24], ecx
and eax, 0xffffff
or eax, ecx
jne 0x10022d18
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x10022d18
mov eax, dword [ecx]
lea edx, [ebp + 0x20]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0x10]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x10022dc2
mov edx, dword [ebp + 0x50]
jmp 0x10022d18
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebp]
bswap eax
not ecx
cmp eax, ecx
je 0x10022db9
mov byte [edi + 0xe], bl
mov ecx, esi
call fcn.100d0bb0
jmp 0x10022dd8
mov ecx, esi
call fcn.100d0bb0
mov eax, dword [ebp + 0x60]
jmp 0x1002284f
mov byte [edi + 0xd], bl
jmp 0x10022dd8
mov byte [esi], bl
xor eax, eax
jmp 0x1002284f