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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af2e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5fa040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x268], eax
lea eax, [ecx + 0x20]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x248], esi
push ecx
mov edx, eax
mov dword [ebp - 0x214], eax
mov ecx, esi
call fcn.00558e40
add esp, 4
test eax, eax
jne 0x4ad920
lea edi, [ebp - 0x210]
mov dword [ebp - 0x21c], eax
mov esi, 0x200
nop word [eax + eax]
mov edx, dword [ebp - 0x248]
mov ecx, SysReAllocString
cmp esi, ecx
cmovb ecx, esi
mov eax, dword [edx]
lea edx, [ebp - 0x218]
push edx
mov edx, dword [ebp - 0x248]
push ecx
push edi
push edx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x21c]
mov ecx, eax
mov eax, dword [ebp - 0x218]
add edx, eax
add edi, eax
mov dword [ebp - 0x21c], edx
sub esi, eax
test ecx, ecx
jne 0x4ad91e
test eax, eax
je 0x4ac2af
test esi, esi
jne 0x4ac260
xor ecx, ecx
cmp edx, 0x200
setne cl
jne 0x4ad91e
mov byte [ebp - 0x249], 0
lea ecx, [ebp - 0x210]
mov edx, str.koly
mov esi, 8
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ac2ec
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4ac2d7
xor edx, edx
jmp 0x4ac313
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4ac30e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4ac30e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4ac30e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4ac30e
xor edx, edx
jmp 0x4ac313
sbb edx, edx
or edx, 1
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], ecx
test edx, edx
je 0x4ac424
or eax, ecx
jne 0x4ad917
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
test ecx, ecx
jne 0x4ac355
cmp eax, 0x200
jb 0x4ad917
add eax, 0xfffffe00
mov dword [ebp - 0x230], eax
adc ecx, 0xffffffff
push ecx
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x248]
push eax
call fcn.00430da0
add esp, 8
test eax, eax
jne 0x4ad920
lea edi, [ebp - 0x210]
mov dword [ebp - 0x21c], eax
mov esi, 0x200
mov edx, dword [ebp - 0x248]
mov ecx, SysReAllocString
cmp esi, ecx
cmovb ecx, esi
mov eax, dword [edx]
lea edx, [ebp - 0x218]
push edx
mov edx, dword [ebp - 0x248]
push ecx
push edi
push edx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x21c]
mov ecx, eax
mov eax, dword [ebp - 0x218]
add edx, eax
add edi, eax
mov dword [ebp - 0x21c], edx
sub esi, eax
test ecx, ecx
jne 0x4ad91e
test eax, eax
je 0x4ac3e1
test esi, esi
jne 0x4ac392
xor ecx, ecx
cmp edx, 0x200
setne cl
jne 0x4ad91e
lea ecx, [ebp - 0x210]
mov eax, dword [ecx]
cmp eax, dword [str.koly]
jne 0x4ad917
mov eax, dword [ecx + 4]
cmp eax, dword [0x5c20f0]
jne 0x4ad917
mov eax, dword [ecx + 8]
cmp eax, dword [0x5c20f4]
jne 0x4ad917
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x1f4]
lea esi, [edx + 0x50]
mov ecx, dword [ebp - 0x1f8]
bswap eax
mov dword [edx + 0x40], eax
lea edi, [edx + 0xa0]
mov eax, dword [ebp - 0x1ec]
bswap eax
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x1e4]
bswap ecx
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0x1f0]
movups xmm0, xmmword [ebp - 0x1d0]
bswap eax
bswap ecx
mov dword [edx + 0x4c], ecx
mov dword [esi], eax
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x1dc]
bswap eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c0]
bswap ecx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x1e0]
bswap eax
bswap ecx
mov dword [esi + 0xc], ecx
mov ecx, 0x20
movups xmmword [edx + 0x88], xmm0
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 0x1bc]
bswap eax
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x134]
bswap eax
mov dword [ebp - 0x240], esi
lea esi, [ebp - 0x1b8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x138]
lea esi, [edx + 0x70]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0x12c]
bswap ecx
mov dword [edx + 0x64], ecx
mov ecx, dword [ebp - 0x130]
bswap eax
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 0xe4]
bswap ecx
mov dword [edx + 0x6c], ecx
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe0]
bswap eax
mov dword [esi], eax
mov eax, dword [ebp - 0xdc]
bswap ecx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x238]
bswap eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xb0]
bswap eax
bswap edx
mov dword [esi + 0xc], edx
lea edi, [ecx + 0x128]
mov dword [ecx + 0x120], eax
mov eax, dword [ebp - 0xac]
bswap eax
mov dword [ecx + 0x124], eax
mov ecx, 0x20
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x21c], esi
lea esi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x238]
bswap ecx
bswap eax
mov esi, dword [edi + 0x44]
mov edx, dword [ebp - 0x230]
mov dword [edi + 0x84], ecx
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x80], eax
cmp ecx, 0x200
jne 0x4ac5d7
test esi, esi
jne 0x4ac5d7
mov edi, dword [ebp - 0x274]
mov eax, edx
add eax, ecx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x220]
adc eax, esi
cmp eax, edi
mov edi, dword [ebp - 0x238]
ja 0x4ac5d7
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x250], eax
jb 0x4ac5ce
cmp dword [ebp - 0x218], eax
jae 0x4ac5d7
mov byte [ebp - 0x249], 1
jmp 0x4ac5f1
mov edi, dword [ebp - 0x220]
mov eax, edx
mov dword [ebp - 0x23c], edi
mov edi, dword [ebp - 0x238]
mov dword [ebp - 0x250], eax
cmp esi, dword [ebp - 0x23c]
ja 0x4ad917
jb 0x4ac607
cmp ecx, eax
ja 0x4ad917
mov eax, dword [ebp - 0x250]
sub eax, ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x23c]
sbb eax, esi
cmp dword [edi + 0x4c], eax
ja 0x4ad917
mov eax, dword [edi + 0x48]
jb 0x4ac637
cmp eax, dword [ebp - 0x218]
ja 0x4ad917
add ecx, eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x25c], eax
adc esi, dword [edi + 0x4c]
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x234], ecx
cmp eax, dword [ebp - 0x23c]
ja 0x4ad917
jb 0x4ac66b
mov eax, dword [ebp - 0x250]
cmp dword [edi + 0x60], eax
ja 0x4ad917
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x218], eax
mov eax, dword [edi + 0x60]
sub dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x23c]
sbb eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
ja 0x4ad917
mov eax, dword [edi + 0x68]
jb 0x4ac6ac
cmp eax, dword [ebp - 0x218]
ja 0x4ad917
add eax, dword [ebp - 0x25c]
mov edi, dword [edi + 0x64]
adc dword [ebp - 0x214], edi
cmp esi, dword [ebp - 0x214]
ja 0x4ac6d5
jb 0x4ac6c9
cmp ecx, eax
ja 0x4ac6d5
mov esi, dword [ebp - 0x214]
mov dword [ebp - 0x234], eax
mov edi, dword [ebp - 0x240]
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x23c]
ja 0x4ad917
mov eax, dword [ebp - 0x250]
jb 0x4ac701
cmp dword [edi + 0x50], eax
ja 0x4ad917
mov edi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x240]
mov edi, dword [edi + 8]
mov dword [ebp - 0x218], edi
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x214], edi
mov edi, ecx
sub eax, dword [edi]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x23c]
sbb eax, dword [ecx + 4]
cmp dword [ebp - 0x214], eax
ja 0x4ad917
mov eax, dword [ebp - 0x218]
jb 0x4ac752
cmp eax, dword [ebp - 0x254]
ja 0x4ad917
mov edi, ecx
add eax, dword [edi]
mov edi, dword [ecx + 4]
adc dword [ebp - 0x214], edi
mov edi, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
cmp esi, dword [ebp - 0x214]
ja 0x4ac787
jb 0x4ac779
cmp ecx, eax
ja 0x4ac787
mov esi, dword [ebp - 0x214]
mov ecx, eax
mov dword [ebp - 0x234], ecx
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x218], eax
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x214], eax
cmp eax, dword [ebp - 0x23c]
ja 0x4ac83a
mov eax, dword [ebp - 0x250]
jb 0x4ac7b9
cmp dword [ebp - 0x218], eax
ja 0x4ac83a
mov ecx, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x218]
mov edi, dword [ebp - 0x214]
sbb dword [ebp - 0x23c], edi
mov edi, dword [ecx + 0xc]
cmp edi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
ja 0x4ac83a
jb 0x4ac7ef
cmp dword [edi + 0x78], eax
ja 0x4ac83a
mov edi, dword [ebp - 0x21c]
mov ecx, edi
mov eax, dword [ebp - 0x218]
add eax, dword [edi + 8]
mov edi, dword [ecx + 0xc]
adc dword [ebp - 0x214], edi
mov edi, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
cmp esi, dword [ebp - 0x214]
ja 0x4ac831
jb 0x4ac823
cmp ecx, eax
ja 0x4ac831
mov esi, dword [ebp - 0x214]
mov ecx, eax
mov dword [ebp - 0x234], ecx
mov byte [ebp - 0x221], 1
jmp 0x4ac841
mov byte [ebp - 0x221], 0
cmp byte [ebp - 0x249], 0
je 0x4ac855
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], esi
jmp 0x4ac996
mov eax, dword [ebp - 0x220]
mov ecx, edx
add ecx, 0x200
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], ecx
adc eax, 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x234]
cmp eax, edx
jne 0x4ac890
cmp esi, dword [ebp - 0x220]
je 0x4ac996
movups xmm0, xmmword [edi + 0x60]
movups xmmword [ebp - 0x288], xmm0
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [ebp - 0x21c], ecx
test ecx, ecx
jne 0x4ac8b9
mov ecx, dword [ebp - 0x280]
cmp ecx, 0xd
jbe 0x4ac8d8
mov ecx, 0xd
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x21c], 0
ja 0x4ac901
cmp ecx, 0xd
jb 0x4ac95c
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x248]
call fcn.004ac130
test eax, eax
jne 0x4ac950
mov ecx, dword [ebp - 0x22c]
mov edx, str.__xml_version
mov dword [ebp - 0x21c], 9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ac950
add ecx, 4
add edx, 4
sub dword [ebp - 0x21c], 4
jae 0x4ac935
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4ac981
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
sub edx, eax
mov eax, dword [ebp - 0x220]
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 0x234]
sbb eax, esi
add edx, 0x200
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], edx
adc esi, 0
mov dword [edi + 0x2c], esi
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
cmp byte [ebp - 0x221], 0
je 0x4acb40
mov edx, dword [edi + 0x78]
mov eax, edx
mov ecx, dword [edi + 0x7c]
or eax, ecx
je 0x4acb40
test ecx, ecx
ja 0x4acb40
jb 0x4ac9c9
cmp edx, 0x1000000
ja 0x4acb40
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 1
push eax
lea eax, [edi + 0x70]
mov ecx, edi
push eax
push dword [ebp - 0x248]
call fcn.004ac130
mov esi, eax
test esi, esi
jne 0x4accd1
mov esi, dword [ebp - 0x228]
cmp esi, 0xc
jb 0x4acb27
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ecx]
bswap eax
cmp eax, 0xfade0cc0
jne 0x4acb2b
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
bswap edx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x218], edx
cmp edx, esi
jne 0x4acb27
mov ecx, dword [ecx + 8]
lea eax, [edx - 0xc]
bswap ecx
shr eax, 3
mov dword [ebp - 0x214], ecx
cmp ecx, eax
ja 0x4acb27
mov eax, 0xc
lea esi, [ecx*8 + 0xc]
mov dword [ebp - 0x21c], eax
cmp esi, eax
jbe 0x4acb2b
nop dword [eax]
mov ecx, dword [ebp - 0x254]
mov ecx, dword [ecx + eax]
bswap ecx
cmp ecx, esi
jb 0x4acb27
lea eax, [edx - 8]
cmp ecx, eax
ja 0x4acb27
mov esi, dword [ebp - 0x22c]
add esi, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x218]
bswap edx
sub eax, ecx
cmp eax, edx
jb 0x4acb27
cmp edx, 8
jb 0x4acb27
cmp dword [ebp - 0x25c], 0xfade0c02
jne 0x4acafc
cmp edx, 0x2c
jb 0x4acb27
mov eax, dword [esi + 0x14]
bswap eax
cmp eax, edx
jae 0x4acb27
sub edx, eax
mov ecx, 0x100
cmp edx, 0x100
cmova edx, ecx
add eax, esi
push edx
lea ecx, [edi + 0x30]
push eax
call fcn.0046cc60
mov ecx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x21c]
add eax, 8
mov dword [ebp - 0x21c], eax
lea esi, [ecx*8 + 0xc]
cmp eax, esi
jae 0x4acb2b
mov edx, dword [ebp - 0x218]
jmp 0x4aca80
mov byte [edi + 0xd], 1
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
cmp dword [edi + 0x98], 2
xorps xmm0, xmm0
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x264], xmm0
jne 0x4acb77
cmp dword [edi + 0x9c], 0x20
jne 0x4acb77
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], ecx
mov esi, dword [edi + 0x68]
mov eax, esi
mov ecx, dword [edi + 0x6c]
or eax, ecx
mov dword [ebp - 0x214], esi
jne 0x4ad053
mov ecx, dword [edi + 0x5c]
mov eax, dword [edi + 0x58]
test ecx, ecx
jne 0x4acba4
cmp eax, 0x100
jb 0x4ad917
test ecx, ecx
ja 0x4ad917
jb 0x4acbb7
cmp eax, 0x1000000
ja 0x4ad917
mov byte [edi + 0xf], 1
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
push eax
lea eax, [edi + 0x50]
mov ecx, edi
push eax
push dword [ebp - 0x248]
call fcn.004ac130
mov esi, eax
test esi, esi
jne 0x4accd1
mov edx, dword [ebp - 0x22c]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
bswap ecx
mov dword [ebp - 0x21c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
bswap eax
bswap ecx
mov dword [ebp - 0x25c], ecx
bswap edx
mov dword [ebp - 0x220], edx
cmp eax, 0x100
jne 0x4acccc
mov esi, dword [edi + 0x5c]
xor eax, eax
mov edx, dword [edi + 0x58]
cmp eax, esi
ja 0x4acccc
mov eax, dword [ebp - 0x21c]
jb 0x4acc4e
cmp eax, edx
jae 0x4acccc
mov dword [ebp - 0x254], 0
cmp dword [ebp - 0x254], esi
ja 0x4acccc
jb 0x4acc66
cmp ecx, edx
jae 0x4acccc
cmp eax, ecx
jb 0x4acccc
lea eax, [ecx + 0x100]
mov ecx, dword [ebp - 0x21c]
cmp ecx, eax
jne 0x4acccc
mov eax, dword [ebp - 0x220]
add eax, ecx
mov dword [ebp - 0x254], 0
cmp eax, edx
jne 0x4acc98
cmp dword [ebp - 0x254], esi
je 0x4acce6
sub edx, ecx
sbb esi, 0
test esi, esi
jb 0x4acccc
ja 0x4accab
cmp edx, dword [ebp - 0x220]
jb 0x4acccc
sub edx, dword [ebp - 0x220]
sbb esi, 0
cmp edx, 4
jne 0x4acccc
test esi, esi
jne 0x4acccc
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + eax]
bswap eax
test eax, eax
je 0x4accec
mov esi, 1
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
mov eax, esi
jmp 0x4ad920
mov edx, dword [ebp - 0x22c]
cmp dword [ebp - 0x220], 0x1e
jb 0x4acccc
lea eax, [edx + ecx]
mov esi, 0xc
mov ecx, edx
mov dword [ebp - 0x21c], eax
mov edx, eax
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4acccc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4acd07
mov edx, dword [ebp - 0x21c]
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl cx, 8
or cx, ax
cmp cx, 0x1c
jne 0x4acccc
movzx esi, byte [edx + 0x1a]
movzx eax, byte [edx + 0x1b]
shl esi, 8
or esi, eax
mov dword [ebp - 0x218], esi
cmp esi, dword [ebp - 0x220]
ja 0x4acccc
movzx ecx, byte [edx + 0x1c]
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
inc ecx
mov dword [ebp - 0x250], ecx
lea eax, [ecx*8 + 0x1e]
cmp eax, esi
ja 0x4acccc
mov dword [ebp - 0x23c], 0
test ecx, ecx
je 0x4acffa
lea edi, [edx + 0x23]
mov dword [ebp - 0x234], edi
mov eax, dword [edi - 5]
bswap eax
cmp eax, 0x626c6b78
jne 0x4acfd6
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 2]
inc ecx
or edx, eax
mov dword [ebp - 0x244], ecx
lea eax, [ecx*2 + 7]
add eax, ecx
lea eax, [edx + eax*4]
cmp eax, esi
ja 0x4acccc
mov dword [ebp - 0x230], 0
test ecx, ecx
je 0x4acfd0
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x240], ecx
nop word [eax + eax]
movzx eax, byte [ecx]
movzx esi, byte [ecx - 1]
mov ecx, dword [ecx + 1]
mov edi, dword [ebp - 0x25c]
bswap ecx
and ecx, 0xffffff
shl esi, 8
or esi, eax
lea eax, [ecx + 4]
cmp eax, edi
jae 0x4acccc
mov eax, dword [ebp - 0x22c]
add eax, 0x100
add eax, ecx
mov dword [ebp - 0x258], eax
mov edx, dword [eax]
mov eax, edi
sub eax, ecx
bswap edx
sub eax, 4
mov dword [ebp - 0x28c], edx
cmp eax, edx
jb 0x4acccc
push 4
call fcn.0058813f
mov edi, eax
xor ecx, ecx
mov edx, 3
mov dword [ebp - 0x284], edi
add esp, 4
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x27c], edx
mov byte [edi], cl
mov byte [ebp - 4], dl
cmp esi, 0xffff
je 0x4acf33
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x218]
cmp esi, eax
jae 0x4ad00c
mov edi, dword [ebp - 0x218]
sub eax, esi
add edi, esi
add edi, dword [ebp - 0x21c]
mov dword [ebp - 0x254], edi
movzx edi, byte [edi]
mov dword [ebp - 0x214], edi
cmp eax, edi
mov edi, dword [ebp - 0x284]
jbe 0x4ad00c
mov esi, 1
cmp dword [ebp - 0x214], esi
jb 0x4acf33
nop dword [eax + eax]
mov eax, dword [ebp - 0x254]
mov al, byte [esi + eax]
mov byte [ebp - 0x221], al
sub al, 0x20
cmp al, 0x5f
ja 0x4acf33
cmp edx, ecx
jne 0x4acf16
lea ecx, [ebp - 0x284]
call fcn.0046c920
mov edx, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
mov edi, dword [ebp - 0x284]
mov al, byte [ebp - 0x221]
inc esi
mov byte [ecx + edi], al
inc ecx
mov dword [ebp - 0x280], ecx
mov byte [edi + ecx], 0
cmp esi, dword [ebp - 0x214]
jbe 0x4acee0
mov esi, dword [ebp - 0x238]
lea ecx, [esi + 0x14]
call fcn.004b0a60
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x214], eax
push ecx
lea ecx, [eax + 0x48]
call fcn.0046cb10
push dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x258]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.004abc80
mov dword [ebp - 0x258], eax
test eax, eax
jne 0x4ad02f
mov eax, dword [ebp - 0x214]
cmp byte [eax + 0x44], 0
jne 0x4acf8f
mov byte [esi + 0xd], 1
push edi
mov byte [ebp - 4], 2
call fcn.00588148
mov edx, dword [ebp - 0x230]
add esp, 4
mov ecx, dword [ebp - 0x240]
inc edx
add ecx, 0xc
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x240], ecx
cmp edx, dword [ebp - 0x244]
jb 0x4ace00
mov esi, dword [ebp - 0x218]
mov edi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x23c]
add edi, 8
inc eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x23c], eax
cmp eax, ecx
jb 0x4acd90
mov edi, dword [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x22c]
jmp 0x4ad576
push edi
mov esi, 1
call fcn.00588148
add esp, 4
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
mov eax, esi
jmp 0x4ad920
mov esi, dword [ebp - 0x258]
push edi
call fcn.00588148
add esp, 4
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
mov eax, esi
jmp 0x4ad920
test ecx, ecx
ja 0x4ad917
jb 0x4ad069
cmp esi, 0x7fffff00
ja 0x4ad917
mov ecx, dword [edi + 0x60]
add ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x64]
adc eax, dword [edi + 0x24]
push eax
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.00430da0
add esp, 8
test eax, eax
jne 0x4ad920
lea ecx, [ebp - 0x2b4]
call fcn.0046e0c0
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 4], 4
add dword [ebp - 0x270], esi
adc dword [ebp - 0x26c], 0
test ecx, ecx
je 0x4ad0d5
mov eax, dword [ecx]
lea edx, [ebp - 0x270]
push edx
push 0
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x4ad1cd
mov esi, dword [ebp - 0x214]
lea eax, [esi + 1]
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x244]
call fcn.00430d10
mov eax, dword [ebp - 0x214]
xor edx, edx
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x244]
sub eax, edx
mov ecx, 0x1000000
cmp eax, 0x1000000
cmova eax, ecx
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x258], eax
add edx, esi
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00558f10
add esp, 4
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4ad1b8
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [ebp - 0x218]
setne al
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4ad1b8
mov edx, dword [ebp - 0x21c]
add edx, ecx
add dword [ebp - 0x264], ecx
mov dword [ebp - 0x21c], edx
adc dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x214]
cmp edx, eax
je 0x4ad1f8
mov ecx, dword [ebp - 0x268]
test ecx, ecx
je 0x4ad100
mov eax, dword [ecx]
lea edx, [ebp - 0x264]
push edx
push 0
push ecx
call dword [eax + 0x10]
mov edx, dword [ebp - 0x21c]
test eax, eax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x214]
je 0x4ad100
test esi, esi
je 0x4ad1c7
push dword [esi - 4]
call fcn.0058e23f
add esp, 4
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x298]
call fcn.0046e140
lea ecx, [ebp - 0x2a4]
call fcn.004468d0
push dword [ebp - 0x2b4]
call fcn.00588148
add esp, 4
mov eax, esi
jmp 0x4ad920
push esi
lea ecx, [ebp - 0x2b4]
mov byte [esi + eax], 0
call fcn.0046dce0
test al, al
jne 0x4ad219
mov eax, 1
mov dword [ebp - 0x220], eax
jmp 0x4ad1b8
mov byte [ebp - 4], 4
test esi, esi
je 0x4ad22c
push dword [esi - 4]
call fcn.0058e23f
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov ecx, str.plist
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4ad257
test dl, dl
je 0x4ad253
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4ad257
add eax, 2
add ecx, 2
test dl, dl
jne 0x4ad237
xor eax, eax
jmp 0x4ad25c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ad2aa
push str.dict
lea ecx, [ebp - 0x2b4]
call fcn.0046d6c0
test eax, eax
je 0x4ad2aa
push str.dict
mov edx, str.resource_fork
mov ecx, eax
call fcn.004abff0
add esp, 4
test eax, eax
je 0x4ad2aa
push str.array
mov edx, str.blkx
mov ecx, eax
call fcn.004abff0
add esp, 4
mov dword [ebp - 0x258], eax
test eax, eax
jne 0x4ad2b4
mov esi, 1
jmp 0x4ad1cd
xor esi, esi
mov dword [ebp - 0x214], esi
cmp dword [eax + 0x20], esi
jbe 0x4ad553
nop word [eax + eax]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x21c], eax
cmp byte [eax + 0xc], 0
je 0x4ad53d
mov eax, dword [eax]
mov ecx, str.dict
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4ad310
test dl, dl
je 0x4ad30c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4ad310
add eax, 2
add ecx, 2
test dl, dl
jne 0x4ad2f0
xor eax, eax
jmp 0x4ad315
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4ad53d
xor esi, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 6
mov edx, str.Data
mov ecx, dword [ebp - 0x21c]
push str.data
call fcn.004abff0
add esp, 4
test eax, eax
je 0x4ad7b8
cmp dword [eax + 0x20], 1
jne 0x4ad366
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x218], eax
cmp byte [eax + 0xc], 0
je 0x4ad36e
xor eax, eax
mov dword [ebp - 0x218], eax
test eax, eax
je 0x4ad7b8
mov eax, dword [eax + 4]
shr eax, 2
lea eax, [eax + eax*2]
add eax, 4
mov dword [ebp - 0x244], eax
je 0x4ad3b1
push eax
mov dword [ebp - 0x228], 0
call fcn.0058813f
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, 1
nop
movzx eax, byte [edx]
inc edx
movzx eax, byte [eax + str.BMMMMMMMMAAMMAMMMMMMMMMMMMMMMMMMAMMMMMMMMMM_MMM_456789:__MMM_MMM]
cmp eax, 0x40
jae 0x4ad3f4
shl ecx, 6
or ecx, eax
test ecx, 0x1000000
je 0x4ad3c0
mov eax, ecx
mov byte [esi + 2], cl
shr eax, 0x10
mov byte [esi], al
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
add esi, 3
jmp 0x4ad3b9
cmp eax, 0x41
je 0x4ad3c0
cmp eax, 0x40
jne 0x4ad454
cmp ecx, 0x1000
jb 0x4ad7b8
test ecx, 0x40000
je 0x4ad41f
mov eax, ecx
shr eax, 0xa
mov byte [esi], al
inc esi
shl ecx, 2
jmp 0x4ad430
movzx eax, byte [edx]
inc edx
cmp byte [eax + str.BMMMMMMMMAAMMAMMMMMMMMMMMMMMMMMMAMMMMMMMMMM_MMM_456789:__MMM_MMM], 0x40
jne 0x4ad7b8
shr ecx, 4
mov byte [esi], cl
inc esi
nop word [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
mov al, byte [eax + str.BMMMMMMMMAAMMAMMMMMMMMMMMMMMMMMMAMMMMMMMMMM_MMM_456789:__MMM_MMM]
cmp al, 0x41
je 0x4ad440
cmp al, 0x42
jmp 0x4ad460
cmp eax, 0x42
jne 0x4ad7b8
cmp ecx, 1
jne 0x4ad7b8
test esi, esi
je 0x4ad7b8
sub esi, dword [ebp - 0x22c]
lea ecx, [edi + 0x14]
call fcn.004b0a60
mov ecx, dword [ebp - 0x21c]
mov edx, str.Name
push str.string
mov dword [ebp - 0x218], eax
call fcn.004abff0
add esp, 4
test eax, eax
je 0x4ad4bb
cmp dword [eax + 0x20], 1
jne 0x4ad4af
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp byte [eax + 0xc], 0
je 0x4ad4b1
xor eax, eax
test eax, eax
je 0x4ad4bb
cmp dword [eax + 4], 0
jne 0x4ad4ee
mov ecx, dword [ebp - 0x21c]
mov edx, str.CFName
push str.string
call fcn.004abff0
add esp, 4
test eax, eax
je 0x4ad4e8
cmp dword [eax + 0x20], 1
jne 0x4ad4e8
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp byte [eax + 0xc], 0
je 0x4ad4ea
xor eax, eax
test eax, eax
je 0x4ad4fd
mov ecx, dword [ebp - 0x218]
push eax
add ecx, 0x48
call fcn.0046cb10
mov ecx, dword [ebp - 0x218]
push esi
push dword [ebp - 0x22c]
call fcn.004abc80
mov esi, eax
test esi, esi
jne 0x4ad7bd
mov eax, dword [ebp - 0x218]
cmp byte [eax + 0x44], 0
jne 0x4ad529
mov byte [edi + 0xd], 1
push dword [ebp - 0x22c]
call fcn.00588148
mov esi, dword [ebp - 0x214]
add esp, 4
mov eax, dword [ebp - 0x258]
inc esi
mov dword [ebp - 0x214], esi
cmp esi, dword [eax + 0x20]
jb 0x4ad2d0
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
call fcn.0046e140
lea ecx, [ebp - 0x2a4]
call fcn.004468d0
push dword [ebp - 0x2b4]
call fcn.00588148
add esp, 4
cmp dword [edi + 0x120], 2
jne 0x4ad5ec
cmp dword [edi + 0x124], 0x20
jne 0x4ad5ec
mov eax, dword [edi + 0x18]
or ecx, 0xffffffff
xor esi, esi
mov dword [ebp - 0x258], eax
test eax, eax
je 0x4ad5d5
mov edi, dword [edi + 0x14]
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
test al, 7
jne 0x4ad5cf
shr eax, 3
cmp eax, 0x80
ja 0x4ad5cf
push eax
add edx, 0x5c
call fcn.0044a290
inc esi
add edi, 4
mov ecx, eax
cmp esi, dword [ebp - 0x258]
jb 0x4ad5a5
mov edi, dword [ebp - 0x238]
cmp esi, dword [edi + 0x18]
jne 0x4ad5ec
mov eax, dword [edi + 0x128]
not ecx
bswap eax
cmp ecx, eax
setne al
mov byte [edi + 0xc], al
xorps xmm0, xmm0
xor esi, esi
movlpd qword [ebp - 0x22c], xmm0
mov edx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
cmp dword [edi + 0x18], esi
jbe 0x4ad657
nop word [eax + eax]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x30], ecx
jne 0x4ad620
cmp dword [eax + 0x34], edx
je 0x4ad624
mov byte [edi + 0xd], 1
cmp dword [eax + 0x3c], 0x400000
jb 0x4ad639
ja 0x4ad635
cmp dword [eax + 0x38], 0
jb 0x4ad639
mov byte [edi + 0xd], 1
add ecx, dword [eax + 0x38]
adc edx, dword [eax + 0x3c]
cmp edx, 0x400000
jb 0x4ad651
ja 0x4ad64d
test ecx, ecx
jb 0x4ad651
mov byte [edi + 0xd], 1
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4ad610
cmp ecx, dword [edi + 0x80]
jne 0x4ad667
cmp edx, dword [edi + 0x84]
je 0x4ad66b
mov byte [edi + 0xd], 1
cmp dword [edi + 0x98], 2
jne 0x4ad913
cmp dword [edi + 0x9c], 0x20
jne 0x4ad913
mov eax, dword [edi + 0x40]
mov ecx, eax
add ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x44]
mov esi, dword [edi + 0x4c]
adc esi, edx
mov dword [ebp - 0x244], esi
cmp esi, edx
jb 0x4ad90f
ja 0x4ad6ad
cmp ecx, eax
jb 0x4ad90f
cmp edx, 0x80000000
ja 0x4ad90f
jb 0x4ad6c3
test eax, eax
jae 0x4ad90f
mov esi, dword [edi + 0x20]
add esi, eax
mov eax, dword [edi + 0x24]
adc eax, edx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x258], eax
cmp eax, edx
ja 0x4ad90f
mov eax, dword [ebp - 0x278]
jb 0x4ad6f1
cmp esi, eax
ja 0x4ad90f
sub eax, dword [edi + 0x20]
sbb edx, dword [edi + 0x24]
cmp dword [ebp - 0x244], edx
ja 0x4ad90f
jb 0x4ad70d
cmp ecx, eax
ja 0x4ad90f
push 0x8080
call fcn.005938b4
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4ad93d
lea eax, [ecx + 0x80]
and eax, 0xffffff80
mov dword [ebp - 0x230], eax
mov dword [eax - 4], ecx
je 0x4ad93d
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x248]
push esi
call fcn.00430da0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ad8fa
mov ecx, dword [ebp - 0x268]
test ecx, ecx
je 0x4ad77d
mov eax, dword [ecx]
lea edx, [ebp - 0x270]
push edx
push esi
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x4ad8fa
mov edx, dword [ebp - 0x230]
xorps xmm0, xmm0
movlpd qword [ebp - 0x22c], xmm0
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x214], eax
jmp 0x4ad7d6
mov esi, 1
push dword [ebp - 0x22c]
call fcn.00588148
add esp, 4
jmp 0x4ad1cd
mov edx, dword [ebp - 0x230]
mov ecx, dword [edi + 0x48]
sub ecx, eax
mov eax, dword [edi + 0x4c]
sbb eax, esi
mov eax, 0x8000
mov dword [ebp - 0x218], eax
jne 0x4ad803
jb 0x4ad7f3
cmp ecx, eax
jae 0x4ad803
mov eax, ecx
mov dword [ebp - 0x218], eax
test eax, eax
je 0x4ad8cd
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x240]
push eax
call fcn.00558f10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ad8fa
mov esi, dword [ebp - 0x218]
cmp esi, dword [ebp - 0x240]
setne al
mov dword [ebp - 0x244], eax
test eax, eax
jne 0x4ad8f4
mov edx, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x21c]
push esi
call fcn.0044a290
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x214]
add eax, esi
mov dword [ebp - 0x214], eax
adc dword [ebp - 0x220], 0
add dword [ebp - 0x264], esi
mov esi, dword [ebp - 0x220]
adc dword [ebp - 0x260], 0
and eax, 0xffffff
or eax, 0
mov eax, dword [ebp - 0x214]
jne 0x4ad7d0
mov ecx, dword [ebp - 0x268]
test ecx, ecx
je 0x4ad7d0
mov eax, dword [ecx]
lea edx, [ebp - 0x264]
push edx
push 0
push ecx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x4ad8fa
mov eax, dword [ebp - 0x214]
mov esi, dword [ebp - 0x220]
jmp 0x4ad7d0
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebp - 0x21c]
bswap eax
not ecx
cmp eax, ecx
je 0x4ad8e5
mov byte [edi + 0xe], 1
push dword [edx - 4]
call fcn.0058e23f
add esp, 4
xor eax, eax
jmp 0x4ad920
mov esi, dword [ebp - 0x244]
mov eax, dword [ebp - 0x230]
push dword [eax - 4]
call fcn.0058e23f
add esp, 4
mov eax, esi
jmp 0x4ad920
mov byte [edi + 0xd], 1
xor eax, eax
jmp 0x4ad920
mov eax, 1
jmp 0x4ad920
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587d99
mov esp, ebp
pop ebp
ret 8
push 0x5f79a8
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 1
push eax
call fcn.0058acc1
int3