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

Disassembly:
sub esp, 0x138
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2c]
test eax, eax
push esi
push edi
jne 0x3006a328
call fcn.3005ee30
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x150]
or ebx, 0xffffffff
test eax, eax
je 0x3006a42f
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x3006a356
mov eax, dword [ebp + 0x318]
push eax
call fcn.30075310
add esp, 4
jmp 0x3006a380
mov eax, dword [ebp + 0x128]
test ah, 2
mov eax, dword [ebp + 0x2e8]
mov ecx, ebp
jne 0x3006a378
push 0x30297e78
push eax
push 0
call fcn.3005fd80
jmp 0x3006a380
push eax
push 0
call fcn.3005fed0
mov edi, eax
test edi, edi
je 0x3006a42f
mov esi, dword [esp + 0x14c]
mov ecx, edi
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x3006a3b7
test dl, dl
je 0x3006a3b3
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x3006a3b7
add ecx, 2
add esi, 2
test dl, dl
jne 0x3006a393
xor ecx, ecx
jmp 0x3006a3bb
sbb ecx, ecx
sbb ecx, ebx
xor edx, edx
test ecx, ecx
sete dl
push edi
mov esi, edx
call fcn.30208320
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, 9
jl 0x3006a418
mov eax, dword [ebp + 0x1cc]
test eax, eax
je 0x3006a418
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x3006a3ec
cmp byte [eax], 0
jne 0x3006a418
mov ecx, dword [esp + 0x34]
push ecx
mov eax, 0xff000000
push eax
push 0
push 0xffffff10
push str.Times_New_Roman
lea ecx, [ebp + 0x68]
call fcn.3005b7d0
lea ecx, [ebp + 0x180]
call fcn.3005e810
jmp 0x3006a427
push 1
push 0x30293680
lea ecx, [ebp + 0x68]
call fcn.3005b590
test esi, esi
jne 0x3006b770
mov eax, dword [ebp + 0x3c]
test eax, eax
mov edi, dword [esp + 0x14c]
je 0x3006a489
push edi
call fcn.30075310
mov esi, eax
add esp, 4
test esi, esi
je 0x3006a465
mov eax, dword [ebp + 0x318]
test eax, eax
je 0x3006a45f
push eax
call fcn.30208320
add esp, 4
mov dword [ebp + 0x318], esi
mov eax, dword [ebp + 0x4c]
test eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x44], ebx
je 0x3006a489
push eax
call fcn.30208320
add esp, 4
mov dword [ebp + 0x4c], 0
mov ecx, ebp
call fcn.300672e0
mov esi, dword [ebp + 0x2e8]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
je 0x3006a4d6
push 1
push ebx
push 1
push esi
push ebx
mov ecx, ebp
call fcn.30068ac0
push esi
push ebx
mov ecx, ebp
call fcn.30066b20
push 1
push 1
push 1
push ebx
push ebx
mov ecx, ebp
call fcn.30068ac0
cmp dword [esp + 0x150], ebx
je 0x3006a4ee
mov eax, dword [ebp + 0x128]
test ah, 2
je 0x3006a4ee
xor eax, eax
jmp 0x3006a4f3
mov eax, 1
cmp dword [ebp + 0x3c], ebx
jne 0x3006a556
cmp eax, ebx
je 0x3006a556
push edi
mov byte [ebp + 0x339], 1
call fcn.30075310
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x3006b6ed
cmp byte [esi], 0
je 0x3006a530
jmp 0x3006a520
cmp byte [eax], 0xd
jne 0x3006a528
mov byte [eax], 0xa
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x3006a520
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3006a535
push ebx
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.30069fa0
push esi
call fcn.30208320
add esp, 4
jmp 0x3006b6ed
mov esi, dword [esp + 0x34]
cmp esi, 8
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xbc], ebx
jl 0x3006a582
mov byte [ebp + 0x338], 1
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx + 0xc0]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp + 0x38]
push ecx
push edx
lea ecx, [esp + 0xc8]
call fcn.300c4770
cmp esi, 5
jle 0x3006a5b0
cmp esi, 8
jge 0x3006a5b0
mov al, 1
jmp 0x3006a5b2
xor al, al
mov ecx, dword [ebp + 0x38]
xor edx, edx
mov dl, byte [ecx + 0xd60]
movzx eax, al
push eax
push 1
lea ecx, [esp + 0xac]
push edx
push esi
push edi
call fcn.30120150
lea ecx, [esp + 0x58]
call fcn.3011fe50
mov eax, dword [ebp + 0x20]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x30]
cmp eax, ebx
je 0x3006a632
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x70], ebx
jne 0x3006a607
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x3006a602
mov ecx, ebp
call fcn.3005ee30
cmp eax, 8
jge 0x3006a632
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
mov ecx, ebp
call fcn.300610d0
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x3006a627
mov ecx, ebp
call fcn.3005ee30
cmp eax, 8
jge 0x3006a632
mov dword [ebp + 0x188], ebx
push 0xbc
mov dword [esp + 0x18], ebx
call fcn.3007a1f0
add esp, 4
cmp eax, ebx
je 0x3006a67e
mov ecx, eax
call fcn.3005f5c0
mov esi, eax
cmp esi, ebx
je 0x3006a67e
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.3002a780
lea edx, [ebp + 0x180]
push edx
lea ecx, [esi + 0x7c]
call fcn.3005e730
mov dword [esi + 0xb8], ebx
mov dword [esp + 0x14], esi
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
call fcn.3002a760
mov eax, dword [ebp + 0x38]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x23], 1
call fcn.301202c0
test eax, eax
jne 0x3006b67c
cmp dword [esp + 0x7c], 3
jne 0x3006a795
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3006a6e1
cmp dword [eax + 0xb8], 2
je 0x3006a78b
cmp dword [esp + 0x34], 8
jl 0x3006a76e
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x3006a76e
mov eax, dword [ebp + 0x170]
test eax, eax
mov esi, dword [esp + 0x78]
je 0x3006a72c
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x3006a72c
mov eax, dword [eax + 4]
lea edx, [ecx + ecx*2]
xor ecx, ecx
mov cx, word [eax + edx*2 - 6]
push ecx
call fcn.3005c8e0
add esp, 4
test al, al
je 0x3006a74a
mov al, byte [esi]
test al, al
je 0x3006a74a
cmp al, 0x20
je 0x3006a742
cmp al, 9
je 0x3006a742
cmp al, 0xa
je 0x3006a742
cmp al, 0xd
jne 0x3006a74a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x3006a732
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3006a750
push 0
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.30069fa0
mov byte [esp + 0x1b], 0
jmp case.default.0x3006a83a
mov edx, dword [esp + 0x78]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x3006a777
push 0
sub eax, esi
push eax
push edx
mov ecx, ebp
call fcn.30069fa0
mov byte [esp + 0x1b], 0
jmp case.default.0x3006a83a
mov al, byte [0x30298048]
xor edi, edi
test al, al
mov esi, 0x30298048
je 0x3006a7c4
mov edx, dword [esp + 0x78]
push edx
push esi
call fcn.300757e0
add esp, 8
test al, al
jne 0x3006a82c
inc edi
mov al, byte [esi]
inc esi
test al, al
jne 0x3006a7b8
cmp byte [esi], 0
jne 0x3006a7a5
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x2f
jne 0x3006b5fe
mov esi, dword [esp + 0x14]
test esi, esi
lea edx, [eax + 1]
je 0x3006b5fe
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x3006b5fe
push ecx
push edx
call fcn.300757e0
add esp, 8
test al, al
je 0x3006b5fa
mov eax, dword [esi + 0xb8]
cmp eax, 1
jne 0x3006b564
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.3002a780
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
jmp 0x3006b64d
cmp byte [esi], 0
je 0x3006a7c4
cmp edi, 0x15
ja case.default.0x3006a83a
jmp dword [edi*4 + 0x3006b780]
mov eax, dword [ebp + 0x2e8]
test eax, eax
je 0x3006a8ae
dec eax
push eax
mov ecx, ebp
call fcn.3005e8c0
push eax
call fcn.3005c960
add esp, 4
test eax, eax
jne 0x3006a8ae
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x13], 0xa
je 0x3006a877
cmp dword [eax + 0xb8], 2
je 0x3006a8ae
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006a885
mov ecx, ebp
call fcn.3005ee30
cmp eax, 7
jge 0x3006a895
push 0
push 1
lea ecx, [esp + 0x1b]
push ecx
jmp 0x3006a8a7
test byte [ebp + 0x128], 0x20
je 0x3006a8ae
push 0
push 1
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
call fcn.30069fa0
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp + 0x68]
push eax
push 0x30298044
lea ecx, [esp + 0x20]
call fcn.30061cf0
lea ecx, [esp + 0x14]
push ecx
push 1
xor ebx, ebx
push 0x30298044
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.300615f0
test eax, eax
je 0x3006a8ed
mov ebx, 1
mov dword [esp + 0x1c], ebx
push 0x3029803c
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006a91b
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov ecx, ebp
call fcn.300615f0
test eax, eax
je 0x3006a91b
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x1ac], 1
jmp case.default.0x3006a83a
test ebx, ebx
je 0x3006a944
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.3002a780
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x78]
inc eax
push eax
lea ecx, [esp + 0x18]
call fcn.3005d530
test eax, eax
je case.default.0x3006a83a
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x13], 0xa
je 0x3006a971
cmp dword [eax + 0xb8], 2
je 0x3006a9a8
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006a97f
mov ecx, ebp
call fcn.3005ee30
cmp eax, 7
jge 0x3006a98f
push 0
push 1
lea ecx, [esp + 0x1b]
push ecx
jmp 0x3006a9a1
test byte [ebp + 0x128], 0x20
je 0x3006a9a8
push 0
push 1
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
call fcn.30069fa0
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp + 0x68]
push eax
jmp 0x3006b64d
lea esi, [ebp + 0x180]
push esi
lea eax, [ebp + 0x68]
push eax
push 0x30298030
lea ecx, [esp + 0x20]
call fcn.30061cf0
lea ecx, [esp + 0x28]
push ecx
push str.leftmargin
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006a9f8
mov eax, dword [esp + 0x28]
lea edx, [eax + eax*4]
shl edx, 2
mov dword [ebp + 0x198], edx
lea eax, [esp + 0x28]
push eax
push str.rightmargin
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006aa1f
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [ebp + 0x19c], ecx
lea edx, [esp + 0x28]
push edx
push 0x30298010
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006aa46
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ebp + 0x1a0], eax
lea ecx, [esp + 0x28]
push ecx
push str.blockindent
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006aa6d
mov eax, dword [esp + 0x28]
lea edx, [eax + eax*4]
shl edx, 2
mov dword [ebp + 0x1a8], edx
push str.tabstops
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006aa87
push eax
mov ecx, esi
call fcn.3005e600
lea eax, [esp + 0x28]
push eax
push 0x30297ff0
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je case.default.0x3006a83a
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [ebp + 0x1a4], ecx
jmp case.default.0x3006a83a
lea ecx, [ebp + 0x180]
push ecx
lea eax, [ebp + 0x68]
push eax
push 0x30297fec
lea ecx, [esp + 0x20]
call fcn.30061cf0
lea edx, [esp + 0x14]
push edx
mov esi, 1
push esi
push 0x30297fec
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.300615f0
test eax, eax
jne 0x3006ab09
lea eax, [esp + 0x14]
push eax
push esi
push str.body
mov ecx, ebp
call fcn.300615f0
test eax, eax
je 0x3006ab0d
mov dword [esp + 0x1c], esi
push 0x3029803c
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006ab36
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
mov ecx, ebp
call fcn.300615f0
test eax, eax
je 0x3006ab36
mov dword [esp + 0x1c], esi
push 0x30297fdc
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov ebx, eax
test ebx, ebx
je 0x3006ab8d
mov al, byte [0x30297fc0]
xor edi, edi
test al, al
mov esi, 0x30297fc0
je 0x3006ab85
lea ebx, [ebx]
push ebx
push esi
call fcn.300757e0
add esp, 8
test al, al
jne 0x3006ab80
mov edi, edi
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x3006ab70
mov al, byte [esi]
inc edi
test al, al
jne 0x3006ab60
jmp 0x3006ab85
cmp byte [esi], 0
jne 0x3006ab87
xor edi, edi
mov dword [ebp + 0x188], edi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x38], 1
jmp case.default.0x3006a83a
test ebx, ebx
je 0x3006abb8
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.3002a780
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x3006ac49
lea eax, [esp + 0xd4]
lea esi, [ebp + 0x68]
push eax
mov ecx, esi
call fcn.3002a780
lea edi, [ebp + 0x180]
push edi
push esi
push 0
lea ecx, [esp + 0x20]
call fcn.30061cf0
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x27], 0xa
je 0x3006abff
cmp dword [eax + 0xb8], 2
je 0x3006ac36
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006ac0d
mov ecx, ebp
call fcn.3005ee30
cmp eax, 7
jge 0x3006ac1d
push 0
push 1
lea ecx, [esp + 0x2f]
push ecx
jmp 0x3006ac2f
test byte [ebp + 0x128], 0x20
je 0x3006ac36
push 0
push 1
lea edx, [esp + 0x2f]
push edx
mov ecx, ebp
call fcn.30069fa0
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.30061d60
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x78]
inc eax
push eax
lea ecx, [esp + 0x18]
call fcn.3005d530
test eax, eax
je case.default.0x3006a83a
lea ecx, [ebp + 0x180]
push ecx
lea eax, [ebp + 0x68]
push eax
jmp 0x3006b64d
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x13], 0xa
je 0x3006ac8a
cmp dword [eax + 0xb8], 2
je case.default.0x3006a83a
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006ac98
mov ecx, ebp
call fcn.3005ee30
cmp eax, 7
jge 0x3006acb2
push 0
push 1
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
call fcn.30069fa0
jmp case.default.0x3006a83a
test byte [ebp + 0x128], 0x20
je case.default.0x3006a83a
push 0
push 1
lea eax, [esp + 0x1b]
push eax
mov ecx, ebp
call fcn.30069fa0
jmp case.default.0x3006a83a
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x13], 0xd
je 0x3006acee
cmp dword [eax + 0xb8], 2
je case.default.0x3006a83a
push 0
push 1
lea ecx, [esp + 0x1b]
push ecx
mov ecx, ebp
call fcn.30069fa0
jmp case.default.0x3006a83a
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x13], 9
je 0x3006ad1d
cmp dword [eax + 0xb8], 2
je case.default.0x3006a83a
push 0
push 1
lea edx, [esp + 0x1b]
push edx
mov ecx, ebp
call fcn.30069fa0
jmp case.default.0x3006a83a
lea eax, [ebp + 0x180]
push eax
lea esi, [ebp + 0x68]
push esi
push 0x30297010
lea ecx, [esp + 0x20]
call fcn.30061cf0
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x30297010
mov ecx, ebp
call fcn.300615f0
push 0x3029803c
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
mov ecx, ebp
je 0x3006ad7c
lea edx, [esp + 0x14]
push edx
push 0
push eax
jmp 0x3006ad88
lea eax, [esp + 0x14]
push eax
push 1
push str.A:link
call fcn.300615f0
push str.href
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov edi, eax
test edi, edi
je 0x3006adbe
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006adaf
mov ecx, ebp
call fcn.3005ee30
cmp eax, 8
setge cl
push ecx
push edi
mov ecx, esi
call fcn.3005b590
push 0x30296ec8
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je case.default.0x3006a83a
push eax
mov ecx, esi
call fcn.3005b5e0
jmp case.default.0x3006a83a
lea edx, [ebp + 0x180]
push edx
lea edi, [ebp + 0x68]
push edi
push 0x30297fa8
lea ecx, [esp + 0x20]
call fcn.30061cf0
push str.face
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006ae19
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
call dword [edx + 4]
push 0x30294f64
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006ae76
cmp byte [eax], 0x23
jne 0x3006ae76
push 0
push 0x10
lea edx, [esp + 0xa8]
push edx
inc eax
push eax
call fcn.300f61a0
add esp, 0x10
test eax, eax
je 0x3006ae76
mov eax, dword [esp + 0xa0]
mov ecx, eax
mov edx, eax
sar ecx, 0x10
sar edx, 8
mov byte [esp + 0x48], cl
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], 0xff
mov eax, dword [esp + 0x48]
mov dword [ebp + 0xc0], eax
push 0x30297f98
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov esi, eax
test esi, esi
je 0x3006aef0
push 0
push 0xa
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.300f61a0
add esp, 0x10
test eax, eax
je 0x3006aef0
mov eax, dword [esp + 0x2c]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x2c], eax
mov cl, byte [esi]
cmp cl, 0x2b
je 0x3006aeba
cmp cl, 0x2d
jne 0x3006aec8
mov ecx, dword [ebp + 0xc4]
test ecx, ecx
jge 0x3006aec6
neg ecx
add eax, ecx
cmp eax, 0x9ec
jle 0x3006aed6
mov eax, 0x9ec
jmp 0x3006aee0
cmp eax, 0x14
jge 0x3006aee0
mov eax, 0x14
mov dword [esp + 0x2c], eax
neg eax
mov ecx, edi
mov dword [edi + 0x5c], eax
call fcn.3005b490
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006aefe
mov ecx, ebp
call fcn.3005ee30
cmp eax, 8
jl case.default.0x3006a83a
lea edx, [esp + 0x8c]
push edx
push str.letterspacing
lea ecx, [esp + 0x60]
call fcn.30120200
test al, al
je 0x3006af4e
fld qword [esp + 0x8c]
fmul qword [0x30296e00]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fistp dword [esp + 0x94]
mov eax, dword [esp + 0x94]
mov ecx, edi
mov dword [edi + 0x60], eax
call fcn.3005b490
push 0x30297f80
lea ecx, [esp + 0x5c]
call fcn.3011fe70
push 0x30293844
push eax
call fcn.300757e0
add esp, 8
test al, al
je 0x3006af89
mov ecx, dword [ebp + 0xbc]
or ecx, 0x100
mov dword [edi + 0x54], ecx
mov ecx, edi
call fcn.3005b490
jmp case.default.0x3006a83a
lea edx, [esp + 0x2c]
push edx
push 0x30297f80
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je case.default.0x3006a83a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x3006afc6
mov eax, dword [ebp + 0xbc]
or eax, 0x100
mov ecx, edi
mov dword [edi + 0x54], eax
call fcn.3005b490
jmp case.default.0x3006a83a
mov ecx, dword [ebp + 0xbc]
and ecx, 0xfffffeff
mov dword [edi + 0x54], ecx
mov ecx, edi
call fcn.3005b490
jmp case.default.0x3006a83a
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
push 0x30297f78
lea ecx, [esp + 0x20]
call fcn.30061cf0
push 0x3029803c
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je case.default.0x3006a83a
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
mov ecx, ebp
call fcn.300615f0
jmp case.default.0x3006a83a
cmp edi, 6
jne 0x3006b030
mov esi, 1
jmp 0x3006b041
xor edx, edx
cmp edi, 7
setne dl
dec edx
and edx, 0xfffffffa
add edx, 8
mov esi, edx
mov ecx, dword [esp + 0x78]
lea eax, [ebp + 0x180]
push eax
lea edi, [ebp + 0x68]
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.30061cf0
mov eax, dword [ebp + 0xbc]
movzx edx, si
or edx, eax
mov ecx, edi
mov dword [edi + 0x54], edx
call fcn.3005b490
jmp case.default.0x3006a83a
lea esi, [ebp + 0x68]
push esi
lea ecx, [esp + 0xd8]
call fcn.3002a780
mov eax, dword [esp + 0x78]
inc eax
push eax
lea ecx, [esp + 0x18]
call fcn.3005d530
test eax, eax
je case.default.0x3006a83a
lea ecx, [ebp + 0x180]
push ecx
push esi
jmp 0x3006b64d
mov edx, dword [esp + 0x78]
inc edx
push edx
lea ecx, [esp + 0x18]
call fcn.3005d530
test eax, eax
je case.default.0x3006a83a
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp + 0x68]
push eax
jmp 0x3006b64d
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x3006b0dd
mov ecx, ebp
call fcn.3005ee30
cmp eax, 7
jl case.default.0x3006a83a
push 0x30297f74
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov esi, eax
test esi, esi
je case.default.0x3006a83a
push str._IMG_SRC_
lea ecx, [esp + 0x40]
call fcn.30075610
push esi
lea ecx, [esp + 0x40]
call fcn.30074eb0
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx + 0x20]
push 0
push eax
push 0x58
call fcn.30208150
add esp, 0xc
test eax, eax
je 0x3006b138
mov ecx, eax
call fcn.3005e060
mov ebx, eax
jmp 0x3006b13a
xor ebx, ebx
mov edx, dword [ebp + 8]
push 0xc
mov dword [esp + 0x8c], ebx
mov dword [ebx + 4], edx
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x3006b15f
push esi
mov ecx, eax
call fcn.30075610
jmp 0x3006b161
xor eax, eax
mov dword [ebx + 8], eax
mov al, byte [esp + 0x1b]
test al, al
je 0x3006b175
mov byte [ebx + 0x4c], 1
mov byte [esp + 0x1b], 0
push str..jpg
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..swf
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..JPG
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..SWF
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..png
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..PNG
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..gif
push esi
call fcn.30075410
add esp, 8
test eax, eax
jne 0x3006b209
push str..GIF
push esi
call fcn.30075410
add esp, 8
test eax, eax
je 0x3006b20d
mov byte [ebx + 0xc], 1
lea eax, [esp + 0x20]
push eax
push 0x30294430
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006b249
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x10], ecx
push str.__WIDTH_
lea ecx, [esp + 0x40]
call fcn.30074eb0
mov edx, dword [esp + 0x20]
push 0xa
push edx
lea ecx, [esp + 0x44]
call fcn.30074b90
lea eax, [esp + 0x20]
push eax
push 0x30294428
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006b285
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x14], ecx
push str.__HEIGHT_
lea ecx, [esp + 0x40]
call fcn.30074eb0
mov edx, dword [esp + 0x20]
push 0xa
push edx
lea ecx, [esp + 0x44]
call fcn.30074b90
push 0x30297f14
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov esi, eax
test esi, esi
je 0x3006b2ce
push 0xc
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x3006b2b1
push esi
mov ecx, eax
call fcn.30075610
jmp 0x3006b2b3
xor eax, eax
push str.__ALT_
lea ecx, [esp + 0x40]
mov dword [ebx + 0x18], eax
call fcn.30074eb0
push esi
lea ecx, [esp + 0x40]
call fcn.30074eb0
push 0x30297f08
lea ecx, [esp + 0x5c]
call fcn.3011fe70
mov esi, eax
test esi, esi
je 0x3006b323
mov ecx, dword [ebp + 0x38]
push esi
lea eax, [esp + 0x50]
push eax
call fcn.30101cc0
mov ecx, dword [eax]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [ebx + 0x54]
call fcn.3005df90
push str.__ID_
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
call fcn.30074eb0
push esi
lea ecx, [esp + 0x40]
call fcn.30074eb0
push 0x30297fdc
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006b36f
mov esi, eax
mov edi, 0x30297ef8
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
lea ecx, [esp + 0x3c]
jne 0x3006b35e
push str.__ALIGN_right
call fcn.30074eb0
mov dword [ebx + 0x24], 1
jmp 0x3006b36f
push str.__ALIGN_left
call fcn.30074eb0
mov dword [ebx + 0x24], 0
lea ecx, [esp + 0x20]
push ecx
push str.vspace
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006b3ab
mov edx, dword [esp + 0x20]
push str.__VSPACE_
lea ecx, [esp + 0x40]
mov dword [ebx + 0x2c], edx
call fcn.30074eb0
mov eax, dword [esp + 0x20]
push 0xa
push eax
lea ecx, [esp + 0x44]
call fcn.30074b90
lea ecx, [esp + 0x20]
push ecx
push str.hspace
lea ecx, [esp + 0x60]
call fcn.30120230
test al, al
je 0x3006b3e7
mov edx, dword [esp + 0x20]
push str.__HSPACE_
lea ecx, [esp + 0x40]
mov dword [ebx + 0x28], edx
call fcn.30074eb0
mov eax, dword [esp + 0x20]
push 0xa
push eax
lea ecx, [esp + 0x44]
call fcn.30074b90
push 0x30296f18
lea ecx, [esp + 0x5c]
call fcn.3011fe70
test eax, eax
je 0x3006b41d
push 0x30293844
push eax
call fcn.300757e0
add esp, 8
test al, al
je 0x3006b41d
push str.__CHECKPOLICYFILE_true
lea ecx, [esp + 0x40]
mov byte [ebx + 0x30], 1
call fcn.30074eb0
mov esi, dword [ebp + 0xa4]
mov edi, 0x30293680
mov ecx, 1
xor edx, edx
mov dword [esp + 0x50], esi
repe cmpsb byte [esi], byte es:[edi]
je 0x3006b458
push 0xc
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x3006b453
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, eax
call fcn.30075610
jmp 0x3006b455
xor eax, eax
mov dword [ebx + 0x1c], eax
lea ebx, [ebp + 0x84]
mov edi, 0x30293680
mov esi, ebx
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x3006b4a0
push 0xc
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x3006b492
push ebx
mov ecx, eax
call fcn.30075610
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x20], eax
jmp 0x3006b4a7
mov ebx, dword [esp + 0x88]
xor eax, eax
mov dword [ebx + 0x20], eax
jmp 0x3006b4a7
mov ebx, dword [esp + 0x88]
push 0x30297a84
lea ecx, [esp + 0x40]
call fcn.30074eb0
mov eax, dword [esp + 0x78]
lea esi, [ebp + 0x180]
push esi
lea edi, [ebp + 0x68]
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.30061cf0
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [ebp + 0xb0]
call fcn.30074d90
mov ecx, edi
mov dword [edi + 0x5c], 0xffffffd8
call fcn.3005b490
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x50], 0x20
je 0x3006b505
cmp dword [eax + 0xb8], 2
je 0x3006b515
push 0
push 1
lea edx, [esp + 0x58]
push edx
mov ecx, ebp
call fcn.30069880
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.30061d60
mov eax, dword [ebp + 0x31c]
test eax, eax
lea ecx, [ebp + 0x31c]
je 0x3006b54c
mov ecx, eax
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x3006b549
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 0x50]
test eax, eax
jne 0x3006b540
add ecx, 0x50
push ebx
call fcn.3001a0d0
lea ecx, [esp + 0x3c]
call fcn.30025af0
mov ebx, dword [esp + 0x1c]
jmp case.default.0x3006a83a
cmp eax, 3
je 0x3006b5ed
test ebx, ebx
je 0x3006b587
lea eax, [ebp + 0x68]
push eax
lea ecx, [esp + 0xd8]
call fcn.3002a780
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x3006b5ed
lea eax, [esp + 0xd4]
lea edi, [ebp + 0x68]
push eax
mov ecx, edi
call fcn.3002a780
lea esi, [ebp + 0x180]
push esi
push edi
push 0
lea ecx, [esp + 0x20]
call fcn.30061cf0
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x33], 0xa
je 0x3006b5ca
cmp dword [eax + 0xb8], 2
je 0x3006b5da
push 0
push 1
lea ecx, [esp + 0x3b]
push ecx
mov ecx, ebp
call fcn.30069fa0
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.30061d60
mov dword [esp + 0x38], 0
lea edx, [ebp + 0x180]
push edx
lea eax, [ebp + 0x68]
push eax
jmp 0x3006b64d
mov eax, dword [esp + 0x78]
lea esi, [ebp + 0x180]
push esi
lea edi, [ebp + 0x68]
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.30061cf0
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
mov ecx, ebp
call fcn.300615f0
test eax, eax
je 0x3006b639
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
jmp case.default.0x3006a83a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3006b64b
mov dword [eax + 0xb8], 3
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.30061d60
mov edx, dword [ebp + 0x38]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 0x410]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xac]
call fcn.301202c0
test eax, eax
je 0x3006a6c1
cmp dword [esp + 0x34], 8
jl 0x3006b695
push 0
push 0
mov ecx, ebp
mov byte [ebp + 0x338], 0
call fcn.30066a30
mov eax, dword [ebp + 0x31c]
test eax, eax
je 0x3006b6a6
mov ecx, ebp
call fcn.30064e70
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], 0x302947ec
call fcn.3001f810
lea ecx, [esp + 0x14]
call fcn.3005f630
lea ecx, [esp + 0x58]
call fcn.30120260
lea ecx, [esp + 0xc0]
call fcn.300c3150
mov edx, dword [esp + 0xa4]
push edx
call fcn.30208320
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x98]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x2e8]
cmp eax, ecx
jge 0x3006b70a
mov ecx, eax
mov esi, dword [esp + 0x9c]
mov dword [ebp + 4], ecx
xor ecx, ecx
cmp esi, ebx
setl cl
dec ecx
and ecx, esi
cmp eax, ecx
jl 0x3006b724
mov eax, ecx
mov ecx, dword [ebp + 0x30]
cmp ecx, ebx
mov dword [ebp + 8], eax
je 0x3006b769
call fcn.300d0470
test eax, eax
je 0x3006b769
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x2e8]
cmp eax, ecx
jge 0x3006b750
mov ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
xor edx, edx
cmp ecx, ebx
setl dl
dec edx
and ecx, edx
cmp eax, ecx
jl 0x3006b766
mov eax, ecx
mov dword [ebp + 0x10], eax
mov byte [ebp + 0x339], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 8