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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006db72
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x100814cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x100ada34]
mov dword [ebp - 0xb8], eax
add eax, 0xbc
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0xb0], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb4], eax
cmp eax, ebx
jne 0x100478a1
xor eax, eax
jmp 0x1004861c
cmp dword [eax + 0x10], 0x200000
ja 0x1004789a
mov eax, 0xf
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xb4]
push ebx
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.10002690
lea esi, [ebp - 0x68]
call fcn.100037a0
add esp, 0x1c
push 9
push str.processed
mov ecx, esi
push ecx
xor eax, eax
mov byte [ebp - 4], 1
call fcn.10008ec0
cmp eax, 0xffffffff
je 0x1004791a
mov dword [ebp - 0xac], 1
jmp 0x100479d5
mov esi, dword [ebp - 0x88]
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc0]
lea eax, [esi + 4]
push eax
mov dword [eax], ebx
mov eax, dword [ebp - 0x8c]
push edx
add eax, 0xa8
push eax
push ecx
call fcn.100487e0
test eax, eax
je 0x100479b1
cmp dword [esi + 4], ebx
je 0x10047999
mov edi, dword [ebp - 0xbc]
cmp dword [edi], 1
je 0x1004795e
mov edx, dword [edi + 0xc]
cmp edx, dword [esi + 0x28]
jae 0x10047978
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x2dc]
mov edx, dword [ecx]
mov eax, dword [esi + 0x28]
mov edx, dword [edx + 0x48]
push eax
call edx
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx + 0x14], 0x10
jb 0x10047986
mov ecx, dword [ecx]
mov edx, dword [esi + 0x28]
mov eax, dword [edi + 8]
call fcn.10008b60
mov eax, dword [esi + 0x28]
mov dword [edi + 0xc], eax
mov dword [edi], ebx
lea ecx, [ebp - 0x68]
call fcn.10002570
lea ecx, [ebp - 0x84]
call fcn.10002570
jmp 0x10048617
mov esi, dword [ebp - 0xc0]
push ebx
call fcn.10048ab0
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx + 0x2c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x84]
call fcn.10002690
mov esi, dword [ebp - 0x88]
cmp dword [esi + 0x24], 0xffffffff
jne 0x10047a47
cmp dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x68]
jae 0x100479ed
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x58]
push edx
call fcn.100041e0
add esp, 4
test eax, eax
jne 0x10047a2e
push 8
push 0x10074930
lea eax, [ebp - 0x68]
push eax
xor eax, eax
call fcn.10008ec0
cmp eax, 0xffffffff
jne 0x10047a19
mov dword [esi + 0x24], ebx
jmp 0x10047a35
inc eax
push eax
lea ecx, [ebp - 0x68]
push ecx
mov edx, str.utf_8
call fcn.10008f70
cmp eax, 0xffffffff
je 0x10047a35
mov dword [esi + 0x24], 1
cmp dword [esi + 0x24], 1
jne 0x10047a47
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x2a0], ebx
cmp dword [esi + 0x20], ebx
je 0x10047b6c
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0xb0]
lea edx, [ebp - 0x68]
push edx
add ecx, 0x104
lea edx, [ebp - 0xa0]
call fcn.1002fd80
test eax, eax
je 0x10047b55
push 0xc
push 0x10074944
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x25
lea esi, [edi + 4]
push 0x10074954
mov ecx, esi
call fcn.10002780
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], ebx
sar eax, 2
mov dword [ebp - 0x90], eax
cmp eax, ebx
jbe 0x10047b2b
jmp 0x10047ae0
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + ecx*4]
push ebx
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0x90]
dec eax
cmp dword [ebp - 0xa8], eax
jae 0x10047b16
push 2
mov eax, 0x1007497c
mov ecx, esi
call fcn.10008c50
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, dword [ebp - 0x90]
jb 0x10047ae0
mov edx, dword [ebp - 0x8c]
mov eax, 1
mov dword [edi + 0x3c], eax
mov dword [edi + 0x78], 2
mov dword [edi + 0x7c], ebx
mov dword [edx + 0x2b8], eax
cmp dword [edi + 0x3c], ebx
je 0x10047b55
mov ecx, edx
call fcn.1004b340
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10047b6c
push eax
call fcn.1004f1bb
add esp, 4
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x10], ebx
je 0x10047d75
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov esi, dword [ebp - 0xb8]
push ebx
mov byte [ebp - 4], 3
mov eax, dword [eax + 0x24]
push eax
lea ecx, [ebp - 0xa0]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x68]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10002690
lea ecx, [esi + 0x60]
call fcn.100310b0
cmp eax, ebx
je 0x10047d5e
push 0xc
push 0x10074908
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x23
lea esi, [edi + 4]
push 0x10074980
mov ecx, esi
call fcn.10002780
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
push ebx
cmp dword [eax + 0x64], ebx
je 0x10047c2c
add eax, 0x38
push eax
or eax, 0xffffffff
call fcn.1000a2f0
push 1
mov eax, 0x100711c0
mov ecx, esi
call fcn.10008c50
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
add eax, 0x54
push ebx
jmp 0x10047c2f
add eax, 0x38
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0x8c]
mov ecx, 1
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x78], 5
mov dword [edi + 0x7c], ebx
mov edx, dword [eax + 0x210]
push edx
lea esi, [ebp - 0x30]
mov dword [eax + 0x2b8], ecx
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
xor esi, esi
sar eax, 2
mov dword [ebp - 0xac], eax
cmp eax, ebx
jbe 0x10047cec
lea ecx, [ecx]
push 7
push str.badcode
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.10002780
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + esi*4]
add ecx, 0x54
push ecx
push 0x10083a40
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.100422f0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0x10
jb 0x10047ce3
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1004f1bb
add esp, 4
inc esi
cmp esi, dword [ebp - 0xac]
jb 0x10047c90
push ebx
push 0x10071005
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.10002780
mov edx, dword [ebp - 0x8c]
push 1
push 1
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.1004b5b0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x10047d34
mov eax, dword [ebp - 0x4c]
push eax
call fcn.1004f1bb
add esp, 4
cmp dword [ebp - 0x1c], esi
jb 0x10047d45
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004f1bb
add esp, 4
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
push edx
jmp 0x100481ad
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10047d75
push eax
call fcn.1004f1bb
add esp, 4
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x14], ebx
je 0x10047f6d
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov esi, dword [ebp - 0xb8]
push ebx
mov byte [ebp - 4], 7
mov ecx, eax
mov edx, dword [ecx + 0x24]
push edx
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x68]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10002690
lea ecx, [esi + 0x30]
call fcn.100310b0
cmp eax, ebx
je 0x10047f56
push 0xc
push 0x10072c08
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x23
lea esi, [edi + 4]
push 0x100749a4
mov ecx, esi
call fcn.10002780
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
push ebx
cmp dword [eax + 0x64], ebx
je 0x10047e34
add eax, 0x38
push eax
or eax, 0xffffffff
call fcn.1000a2f0
push esi
mov eax, 0x100711c0
call fcn.10008d70
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
add eax, 0x54
push ebx
jmp 0x10047e37
add eax, 0x38
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0x8c]
mov ecx, 1
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x78], 5
mov dword [edi + 0x7c], ebx
mov edx, dword [eax + 0x210]
push edx
lea esi, [ebp - 0x4c]
mov dword [eax + 0x2b8], ecx
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
xor esi, esi
sar eax, 2
mov dword [ebp - 0xac], eax
cmp eax, ebx
jbe 0x10047ef1
push 0xa
push str.trojanhtml
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + esi*4]
add ecx, 0x54
push ecx
push 0x10083a40
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.100422f0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 0x10
jb 0x10047ee8
mov edx, dword [ebp - 0x30]
push edx
call fcn.1004f1bb
add esp, 4
inc esi
cmp esi, dword [ebp - 0xac]
jb 0x10047e95
push ebx
push 0x10071005
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
mov edx, dword [ebp - 0x8c]
push 1
push 1
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.1004b5b0
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x10047f39
mov eax, dword [ebp - 0x30]
push eax
call fcn.1004f1bb
add esp, 4
cmp dword [ebp - 0x38], esi
jb 0x10047f4a
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1004f1bb
add esp, 4
mov edx, dword [ebp - 0xa0]
push edx
jmp 0x100481a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10047f6d
push eax
call fcn.1004f1bb
add esp, 4
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x18], ebx
je 0x10048208
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 4], 0xb
mov eax, dword [eax + 0x24]
push eax
lea edx, [ebp - 0x68]
push edx
add ecx, 0x9c
lea edx, [ebp - 0xa0]
call fcn.1002fd80
test eax, eax
je 0x100481f3
push 0xc
push 0x100749c8
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x25
lea esi, [edi + 4]
push 0x100749d8
mov ecx, esi
call fcn.10002780
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x20]
push esi
call fcn.10002690
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
add eax, 0x70
push ebx
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
push ebx
push eax
or eax, 0xffffffff
lea esi, [edi + 0x20]
call fcn.1000a2f0
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
cmp dword [eax + 0x48], ebx
je 0x1004807e
lea esi, [edi + 4]
push esi
mov eax, 0x10072c3c
call fcn.10008d70
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
call fcn.1000a2f0
lea eax, [edi + 4]
push eax
mov eax, 0x10072c30
call fcn.10008d70
lea esi, [edi + 0x20]
push esi
mov eax, 0x10072c3c
call fcn.10008d70
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
add eax, 0x38
push ebx
push eax
or eax, 0xffffffff
call fcn.1000a2f0
lea eax, [edi + 0x20]
push eax
mov eax, 0x10072c30
call fcn.10008d70
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x98]
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x78], 3
mov dword [edi + 0x7c], ebx
mov edx, dword [eax + 0x210]
push edx
lea esi, [ebp - 0x4c]
mov dword [eax + 0x2b8], 1
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x9c]
sub esi, dword [ebp - 0xa0]
mov dword [ebp - 0x90], ebx
sar esi, 2
cmp esi, ebx
jbe 0x10048140
push 5
push str.feifa
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + ecx*4]
add edx, 0x54
push edx
push 0x10083a40
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.100422f0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x1c], 0x10
jb 0x1004812f
mov eax, dword [ebp - 0x30]
push eax
call fcn.1004f1bb
add esp, 4
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp eax, esi
jb 0x100480d6
push ebx
push 0x10071005
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
mov edx, dword [ebp - 0x8c]
push 1
push 1
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.1004b5b0
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x10048188
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004f1bb
add esp, 4
cmp dword [ebp - 0x38], esi
jb 0x10048199
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1004f1bb
add esp, 4
mov eax, dword [ebp - 0xa0]
push eax
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0xf
call fcn.1004f1bb
mov esi, 0x10
add esp, 4
mov dword [edi], 2
cmp dword [ebp - 0x54], esi
jb 0x100481d1
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], esi
jb 0x10048617
mov edx, dword [ebp - 0x84]
push edx
jmp 0x1004860f
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.100329c0
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x1c], ebx
je 0x10048481
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb0]
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + 0x24]
push ecx
add edx, 0xe0
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
lea esi, [ebp - 0xa0]
mov byte [ecx], bl
call fcn.10002690
mov ecx, dword [ebp - 0xb4]
mov edx, esi
call fcn.10030160
cmp eax, ebx
je 0x1004846a
mov ecx, dword [ebp - 0xb0]
cmp dword [ecx + 0xc0], ebx
je 0x1004832b
lea edx, [edi + 0x5c]
push edx
mov edx, 0x10074a08
call fcn.100025a0
lea esi, [edi + 4]
mov eax, 0x64
mov ecx, esi
call fcn.10008e90
push esi
mov edx, 0x10074a18
call fcn.100025a0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], ebx
sar eax, 2
mov dword [ebp - 0x90], eax
cmp eax, ebx
jbe 0x1004832b
jmp 0x100482e0
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + ecx*4]
push ebx
push eax
or eax, 0xffffffff
call fcn.1000a2f0
mov eax, dword [ebp - 0x90]
dec eax
cmp dword [ebp - 0xa8], eax
jae 0x10048316
push 2
mov eax, 0x1007497c
mov ecx, esi
call fcn.10008c50
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, dword [ebp - 0x90]
jb 0x100482e0
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0xc0]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x78], 3
mov dword [edi + 0x7c], ebx
mov ecx, dword [eax + 0x210]
push ecx
lea esi, [ebp - 0x4c]
mov dword [eax + 0x2b8], ebx
call fcn.10005bc0
add esp, 4
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa0]
xor esi, esi
sar eax, 2
mov dword [ebp - 0x90], eax
cmp eax, ebx
jbe 0x100483dd
push 0xd
push str.feifa_replace
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + esi*4]
add eax, 0x54
push eax
push 0x10083a40
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.100422f0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x1c], 0x10
jb 0x100483d4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004f1bb
add esp, 4
inc esi
cmp esi, dword [ebp - 0x90]
jb 0x10048381
cmp dword [edi + 0x3c], ebx
je 0x100483ed
mov ecx, dword [ebp - 0x8c]
call fcn.1004b340
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb4]
mov dword [edx + 4], 1
cmp dword [esi], 1
jne 0x1004842d
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edi + 0x10]
mov ecx, dword [ecx + 0x2dc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x48]
call eax
mov dword [esi + 8], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi], ebx
cmp dword [edi + 0x14], 0x10
mov edx, dword [edi + 0x10]
jb 0x1004843a
mov ecx, dword [edi]
jmp 0x1004843c
mov ecx, edi
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10048452
cmp ecx, ebx
je 0x10048452
push edx
push ecx
push eax
call fcn.10053190
add esp, 0xc
cmp dword [ebp - 0x38], 0x10
mov edi, dword [edi + 0x10]
mov dword [esi + 0xc], edi
jb 0x1004846a
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1004f1bb
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x10048481
push eax
call fcn.1004f1bb
add esp, 4
mov edx, dword [ebp - 0x88]
cmp dword [edx + 8], ebx
je 0x100485ac
mov eax, edx
cmp dword [eax + 0xc], ebx
jne 0x100485ac
push 5
mov esi, 0xf
push str._body
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x68]
call fcn.100042a0
cmp dword [ebp - 0x1c], 0x10
mov edi, eax
jb 0x100484d7
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004f1bb
add esp, 4
cmp edi, ebx
je 0x100485ac
push 7
push str._script
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x68]
call fcn.100042a0
cmp dword [ebp - 0x1c], 0x10
mov edi, eax
jb 0x10048516
mov edx, dword [ebp - 0x30]
push edx
call fcn.1004f1bb
add esp, 4
cmp edi, ebx
jne 0x1004859f
push str._iframe
lea ecx, [ebp - 0x30]
call fcn.10002510
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x68]
call fcn.100042a0
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.10002570
cmp esi, ebx
je 0x10048553
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0xc], 1
jmp 0x100485ac
push str._img
lea ecx, [ebp - 0x30]
call fcn.10002510
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x68]
call fcn.100042a0
test eax, eax
je 0x10048589
push ebx
mov edx, edi
push edx
mov edx, str.onerror
call fcn.10008f70
mov byte [ebp - 0xa1], 1
cmp eax, 0xffffffff
jne 0x1004858f
mov byte [ebp - 0xa1], bl
lea ecx, [ebp - 0x30]
call fcn.10002570
cmp byte [ebp - 0xa1], bl
je 0x100485ac
mov eax, dword [ebp - 0x88]
mov dword [eax + 0xc], 1
cmp dword [ebp - 0xac], ebx
jne 0x100485e0
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x84]
push edx
mov edx, dword [ebp - 0xc0]
add ecx, 0xa8
push ecx
mov ecx, dword [eax + 0x2c]
call fcn.10048910
mov esi, 0x10
cmp dword [ebp - 0x54], esi
jb 0x100485f6
mov edx, dword [ebp - 0x68]
push edx
call fcn.1004f1bb
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], esi
jb 0x10048617
mov eax, dword [ebp - 0x84]
push eax
call fcn.1004f1bb
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004f1ac
mov esp, ebp
pop ebp
ret 0xc