Function at 0x47bd20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp ebx, 5
ja 0x47c608
cmp ebx, dword [esi + 0x80]
je 0x47c608
push 0x52a44c
lea ecx, [ebp - 0x20]
call fcn.004013e0
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + ecx*4 + 0x108]
lea eax, [ebp - 0x5c]
push eax
push str.name
push edx
mov dword [ebp - 0x5c], 0
call dword [sym.imp.htmlayout.dll_HTMLayoutGetAttributeByName]
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402c90
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x3c]
push 0x5100dc
push edx
call fcn.0046f670
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x47bdae
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + eax*4 + 0x108]
push str.class
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetAttributeByName]
mov eax, dword [esi + 0x80]
sub eax, 0
je 0x47beac
sub eax, 1
je 0x47be49
sub eax, 3
jne 0x47bf32
cmp dword [esi + 0xf0], eax
lea ecx, [esi + 0xf0]
je 0x47be20
push eax
lea edx, [ebp - 0x5c]
push edx
call fcn.004651d0
lea eax, [esi + 0x128]
push eax
push ecx
lea edx, [ebp - 0x5c]
mov ecx, esp
push edx
call fcn.00461fb0
call fcn.004bc8d0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00461fe0
cmp dword [esi + 0xfc], 0
lea ecx, [esi + 0xfc]
je 0x47bf32
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.004651d0
lea ecx, [esi + 0x188]
jmp 0x47bf15
cmp dword [esi + 0xf0], 0
lea ecx, [esi + 0xf0]
je 0x47be86
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.004651d0
mov ecx, esi
call fcn.00479810
push eax
push ecx
lea edx, [ebp - 0x5c]
mov ecx, esp
push edx
call fcn.00461fb0
mov ecx, esi
call fcn.00462900
lea ecx, [ebp - 0x5c]
call fcn.00461fe0
cmp dword [esi + 0xfc], 0
lea ecx, [esi + 0xfc]
je 0x47bf32
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.004651d0
lea ecx, [esi + 0x190]
jmp 0x47bf15
cmp dword [esi + 0xf0], 0
lea edi, [esi + 0xf0]
je 0x47bef5
mov ecx, esi
call fcn.00479810
test eax, eax
jne 0x47bef5
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.004651d0
lea ecx, [esi + 0x120]
push ecx
push ecx
lea edx, [ebp - 0x5c]
mov ecx, esp
push edx
call fcn.00461fb0
call fcn.004bc8d0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00461fe0
cmp dword [esi + 0xfc], 0
lea ecx, [esi + 0xfc]
je 0x47bf32
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.004651d0
lea ecx, [esi + 0x180]
push ecx
push ecx
lea edx, [ebp - 0x5c]
mov ecx, esp
push edx
call fcn.00461fb0
call fcn.004bc8d0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00461fe0
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x80], ebx
test eax, eax
je 0x47bf4d
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov eax, dword [esi + 0x30]
test eax, eax
je 0x47bf5c
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x47bf6b
mov edx, dword [eax + 4]
push 0
push edx
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x47bf7a
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov eax, dword [esi + 0x44]
test eax, eax
je 0x47bf89
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x47bf97
push 0
call fcn.0049bf10
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47bfa6
mov edx, dword [eax + 4]
push 0
push edx
call edi
mov eax, dword [esi + 0x54]
test eax, eax
je 0x47bfb5
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x47bfc4
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x58]
test eax, eax
je 0x47bfd3
mov edx, dword [eax + 4]
push 0
push edx
call edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x47bfe2
mov eax, dword [eax + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x47bff0
push 0
call fcn.00497300
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x47bffe
push 0
call fcn.00497300
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x47c00c
push 0
call fcn.004b24b0
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x47c01a
push 0
call fcn.004827f0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x47c028
push 0
call fcn.00481f00
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x47c036
push 0
call fcn.0045f5c0
mov eax, dword [esi + 0x340]
test eax, eax
je 0x47c055
cmp dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
je 0x47c055
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + eax*4 + 0x108]
lea edx, [ebp - 0x5c]
push edx
push str.name
xor ebx, ebx
push ecx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.htmlayout.dll_HTMLayoutGetAttributeByName]
mov edx, dword [ebp - 0x5c]
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c080
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00403060
push 0x5100d4
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x94]
push 0x5100dc
push eax
call fcn.0046f670
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.0046f700
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402df0
lea ecx, [ebp - 0x78]
call fcn.00402d10
lea ecx, [ebp - 0x94]
call fcn.00402d10
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x47c0ee
lea eax, [ebp - 0x38]
mov edx, dword [esi + 0x80]
push eax
mov eax, dword [esi + edx*4 + 0x108]
push str.class
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutSetAttributeByName]
mov eax, dword [esi + 0x80]
cmp eax, 5
ja case.default.0x47c117
jmp dword [eax*4 + 0x47c61c]
cmp dword [esi + 0xfc], ebx
lea ecx, [esi + 0xfc]
je 0x47c140
mov edx, dword [esi + 0x180]
mov eax, dword [esi + 0x184]
push ebx
push edx
push eax
call fcn.00461df0
mov eax, dword [esi + 0x88]
cmp eax, ebx
jne 0x47c1c8
cmp dword [esi + 0xf0], ebx
lea ecx, [esi + 0xf0]
je 0x47c18c
mov edx, dword [esi + 0x120]
mov eax, dword [esi + 0x124]
push ebx
push edx
push eax
call fcn.00461df0
cmp byte [esi + 0x211], bl
je 0x47c17d
mov ecx, esi
call fcn.0047a4a0
jmp 0x47c18c
cmp byte [esi + 0x210], bl
je 0x47c18c
mov ecx, esi
call fcn.0047a6c0
mov esi, dword [esi + 0x340]
cmp esi, ebx
je 0x47c26a
mov dword [esi + 0x58], 1
cmp dword [esi + 0x5c], ebx
je 0x47c26a
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5100d0
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp eax, 1
jne 0x47c204
cmp dword [esi + 0xf0], ebx
je 0x47c1e8
mov edx, dword [esi + 0xf0]
push ebx
push 0x52a4dc
push edx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov ecx, dword [esi + 0x68]
push 1
call fcn.004b24b0
push 0x5100d0
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp eax, 3
jne 0x47c240
cmp dword [esi + 0xf0], ebx
je 0x47c224
mov eax, dword [esi + 0xf0]
push ebx
push 0x52a4dc
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov ecx, dword [esi + 0x6c]
push 1
call fcn.004827f0
push 0x5100d0
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp eax, 2
jne 0x47c26a
cmp dword [esi + 0xf0], ebx
je 0x47c260
mov ecx, dword [esi + 0xf0]
push ebx
push 0x52a4dc
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov ecx, dword [esi + 0x70]
push 1
call fcn.00481f00
push 0x5100d0
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp dword [esi + 0xfc], ebx
lea ecx, [esi + 0xfc]
je 0x47c29e
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x194]
push ebx
push edx
push eax
call fcn.00461df0
mov ecx, esi
call fcn.00479810
push eax
mov ecx, esi
call fcn.004795e0
push 0x5100cc
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp dword [esi + 0xfc], ebx
lea ecx, [esi + 0xfc]
je 0x47c2e1
mov edx, dword [esi + 0x198]
mov eax, dword [esi + 0x19c]
push ebx
push edx
push eax
call fcn.00461df0
mov eax, dword [esi + 0x90]
cmp eax, 1
jne 0x47c306
push eax
mov ecx, esi
call fcn.0047a810
push 0x5100c8
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp eax, 2
jne 0x47c325
push eax
mov ecx, esi
call fcn.0047a810
push 0x5100c8
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov ecx, dword [esi + 0x60]
push 1
call fcn.004b3ea0
mov ecx, dword [esi + 0x50]
push 1
call fcn.00497300
push 0x5100c8
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp dword [esi + 0xf0], ebx
lea ecx, [esi + 0xf0]
je 0x47c36d
mov edx, dword [esi + 0x178]
mov eax, dword [esi + 0x17c]
push ebx
push edx
push eax
call fcn.00461df0
cmp dword [esi + 0xfc], ebx
lea ecx, [esi + 0xfc]
je 0x47c38f
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi + 0x1a4]
push ebx
push edx
push eax
call fcn.00461df0
cmp dword [esi + 0x94], ebx
jne 0x47c3bc
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x47c3bc
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5100c4
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
push 1
mov ecx, esi
call fcn.0047a810
push 0x5100c4
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
cmp dword [esi + 0xf0], ebx
lea ecx, [esi + 0xf0]
je 0x47c3f9
mov edx, dword [esi + 0x128]
mov eax, dword [esi + 0x12c]
push ebx
push edx
push eax
call fcn.00461df0
cmp dword [esi + 0xfc], ebx
lea ecx, [esi + 0xfc]
je 0x47c41b
mov edx, dword [esi + 0x188]
mov eax, dword [esi + 0x18c]
push ebx
push edx
push eax
call fcn.00461df0
mov ecx, esi
call fcn.00479810
cmp eax, 5
ja case.default.0x47c42b
jmp dword [eax*4 + 0x47c634]
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049bde0
mov ecx, dword [esi + 0x40]
push 1
call fcn.0049bf10
push 0x50f42c
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049be00
mov ecx, dword [esi + 0x40]
push 1
call fcn.0049bf10
push 0x50f42c
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049be20
mov ecx, dword [esi + 0x40]
push 1
call fcn.0049bf10
push 0x50f42c
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049be40
mov ecx, dword [esi + 0x40]
push 1
call fcn.0049bf10
push 0x50f42c
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049aae0
mov ecx, dword [esi + 0x44]
push 1
call fcn.0049ab20
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
je case.default.0x47c42b
push 1
jmp 0x47c51d
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je case.default.0x47c42b
call fcn.0049ab00
mov ecx, dword [esi + 0x44]
push 1
call fcn.0049ab20
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
je case.default.0x47c42b
push ebx
call fcn.00497300
push 0x50f42c
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov edi, dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
cmp dword [esi + 0xf0], ebx
je 0x47c551
mov ecx, dword [esi + 0xf0]
push ebx
push 0x52a4dc
push ecx
call edi
cmp dword [esi + 0xfc], ebx
je 0x47c568
mov edx, dword [esi + 0xfc]
push ebx
push 0x52a4dc
push edx
call edi
mov esi, dword [esi + 0x48]
cmp esi, ebx
je 0x47c57b
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.DFCBA
lea ecx, [ebp - 0x20]
call fcn.004016e0
jmp 0x47c5be
mov edi, dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
cmp dword [esi + 0xf0], ebx
je 0x47c5a7
mov ecx, dword [esi + 0xf0]
push ebx
push 0x52a4dc
push ecx
call edi
cmp dword [esi + 0xfc], ebx
je 0x47c5be
mov edx, dword [esi + 0xfc]
push ebx
push 0x52a4dc
push edx
call edi
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004015f0
mov ecx, 0x542730
call fcn.004bd020
lea ecx, [ebp - 0x3c]
call fcn.00402d10
lea ecx, [ebp - 0x58]
call fcn.00402d10
cmp dword [ebp - 8], 0x10
jb 0x47c608
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4