Function at 0x411750
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48b0bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc28
push ebx
mov ebx, dword [esp + 0xc40]
push ebp
mov ebp, dword [esp + 0xc48]
push esi
lea eax, [esp + 0x144]
push edi
push eax
mov esi, ecx
push ebp
push ebx
mov dword [esp + 0x54], esi
call fcn.0040fb90
mov edi, dword [esp + 0xc64]
test edi, edi
jne 0x41233f
mov ax, word [esp + 0x198]
cmp ax, 0x30
je 0x412285
cmp ax, 0x32
je 0x412285
cmp ax, 0x31
je 0x412285
mov edx, dword [esp + 0xc54]
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
push edx
push ebp
push ebx
mov ecx, esi
call fcn.0040fbc0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x41281a
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x411846
mov ecx, dword [esp + 0xc4]
test ecx, ecx
jne 0x411846
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
jne 0x41238c
mov ecx, dword [esp + 0xc60]
mov edx, dword [esp + 0xc48]
push 0
push eax
mov eax, dword [esp + 0xc5c]
push 0
push eax
push ebp
push ebx
push ecx
push edx
jmp 0x412813
mov eax, dword [0x4c0704]
push str.download
push eax
call fcn.004646f0
add esp, 8
test eax, eax
je 0x41281a
mov ecx, dword [0x4c0704]
push str.mail
push ecx
call fcn.004646f0
add esp, 8
test eax, eax
je 0x41281a
mov dl, byte [0x4bfab8]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x339]
mov byte [esp + 0x338], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xb4]
cmp eax, 0x3ff
jb 0x4118b0
mov eax, 0x3ff
mov ecx, dword [esp + 0xc54]
push eax
lea eax, [esp + 0x33c]
push eax
push ecx
push ebp
push ebx
mov ecx, esi
call fcn.00410fc0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4119ee
mov edx, dword [0x4bb604]
mov dword [esp + 0x10], edx
xor eax, eax
mov dword [esp + 0xc40], 1
mov dword [esp + 0x20], 0x491b0c
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x11
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xa
lea eax, [esp + 0x20]
push 1
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x340]
push ecx
push edx
mov byte [esp + 0xc50], 2
call fcn.00413f50
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x338]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x20], 0x491b0c
mov eax, dword [esp + 0x24]
mov byte [esp + 0xc40], 3
test eax, eax
je 0x4119b6
mov ecx, dword [esp + 0x28]
xor edi, edi
test ecx, ecx
jbe 0x4119b6
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4119ad
lea ecx, [esi + 0xc]
push 1
push ecx
call fcn.0046bc08
lea edx, [esi + 8]
push 1
push edx
call fcn.0046bc08
mov esi, dword [esi]
test esi, esi
jne 0x41198d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc edi
cmp edi, ecx
jb 0x411986
push eax
call fcn.00473336
mov ecx, dword [esp + 0x38]
xor esi, esi
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0046da9c
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0xc40], 0xffffffff
call fcn.0046e753
mov eax, dword [esp + 0xc60]
test eax, eax
jne 0x412260
mov esi, 0x4b1e24
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411a2d
test cl, cl
je 0x411a29
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411a2d
add eax, 2
add esi, 2
test cl, cl
jne 0x411a09
xor eax, eax
jmp 0x411a32
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411f5c
mov esi, 0x4b1e20
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411a6a
test cl, cl
je 0x411a66
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411a6a
add eax, 2
add esi, 2
test cl, cl
jne 0x411a46
xor eax, eax
jmp 0x411a6f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411f5c
mov esi, 0x4b1e1c
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411aa7
test cl, cl
je 0x411aa3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411aa7
add eax, 2
add esi, 2
test cl, cl
jne 0x411a83
xor eax, eax
jmp 0x411aac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411f5c
mov esi, str.JPEG
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411ae4
test cl, cl
je 0x411ae0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411ae4
add eax, 2
add esi, 2
test cl, cl
jne 0x411ac0
xor eax, eax
jmp 0x411ae9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411f5c
mov esi, 0x4b1e10
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411b21
test cl, cl
je 0x411b1d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411b21
add eax, 2
add esi, 2
test cl, cl
jne 0x411afd
xor eax, eax
jmp 0x411b26
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411f5c
mov esi, str.IMAGE
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411b60
test cl, cl
je 0x411b5a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411b60
add eax, 2
add esi, 2
test cl, cl
jne 0x411b3a
xor edi, edi
xor eax, eax
jmp 0x411b67
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x411f5c
mov ecx, dword [0x4c07b0]
push ebp
lea eax, [esp + 0x1c]
push ebx
push eax
add ecx, 8
call fcn.00413450
mov eax, dword [0x4c07b0]
push edi
push ebp
lea edx, [esp + 0x1c]
push ebx
push edx
lea ecx, [eax + 8]
mov dword [esp + 0xc50], 8
call fcn.004135c0
mov ecx, dword [0x4bb604]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 0x491b0c
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x11
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0xa
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 1
lea eax, [esp + 0x14]
push edx
push eax
push ecx
mov byte [esp + 0xc50], 0xb
call fcn.00413f50
lea edx, [esp + 0x248]
lea eax, [esp + 0x748]
push edx
lea ecx, [esp + 0x84c]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1d0]
push ecx
push edx
push eax
call fcn.0045887a
mov esi, dword [esp + 0xc90]
add esp, 0x24
cmp esi, edi
jne 0x411c41
mov ecx, dword [esp + 0xc48]
push str._a_href_
push ecx
call fcn.00459452
add esp, 8
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.00408700
mov eax, dword [eax]
add esp, 8
push eax
call fcn.00459fab
mov ecx, dword [0x4c07b0]
push eax
mov eax, dword [esp + 0xc5c]
mov edx, dword [ecx + 0x7c]
mov ecx, dword [0x4c0718]
push edx
push eax
push ebx
mov ebx, dword [esp + 0xc5c]
push ecx
push str._s_document_RecordNo_dMultiNo_dchannelid_drandno_doutfile0typebinColumnName_s
push ebx
call fcn.00459452
add esp, 0x20
lea ecx, [esp + 0x1c]
call fcn.0046e753
mov edx, dword [0x4c07b0]
push ebx
push edx
call fcn.00423620
add esp, 8
cmp esi, edi
jne 0x411ea7
mov ebp, ebx
push 0x4b1d9c
push ebp
call fcn.00459452
add esp, 8
mov esi, 0x4b183c
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411cec
test cl, cl
je 0x411ce8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411cec
add eax, 2
add esi, 2
test cl, cl
jne 0x411cc4
xor eax, eax
jmp 0x411cf1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x411cff
push str._img_border_0__src_..doc_skinpdf.gif__
jmp 0x411e90
mov esi, str.HTML
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411d33
test cl, cl
je 0x411d2f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411d33
add eax, 2
add esi, 2
test cl, cl
jne 0x411d0b
xor eax, eax
jmp 0x411d38
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x411d46
push str._img_border_0__src_..doc_skinhtml.gif__
jmp 0x411e90
mov esi, str.WORD
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411d7a
test cl, cl
je 0x411d76
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411d7a
add eax, 2
add esi, 2
test cl, cl
jne 0x411d52
xor eax, eax
jmp 0x411d7f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x411e8b
mov esi, 0x4b1d30
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411dbb
test cl, cl
je 0x411db7
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411dbb
add eax, 2
add esi, 2
test cl, cl
jne 0x411d93
xor eax, eax
jmp 0x411dc0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x411e8b
mov esi, 0x4b1d2c
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411dfc
test cl, cl
je 0x411df8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411dfc
add eax, 2
add esi, 2
test cl, cl
jne 0x411dd4
xor eax, eax
jmp 0x411e01
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x411e0f
push str._img_border_0__src_..doc_skinxcl.bmp__
jmp 0x411e90
mov esi, 0x4b1cfc
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x411e43
test cl, cl
je 0x411e3f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x411e43
add eax, 2
add esi, 2
test cl, cl
jne 0x411e1b
xor eax, eax
jmp 0x411e48
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x411e53
push str._img_border_0__src_..doc_skinppt.bmp__
jmp 0x411e90
lea eax, [esp + 0x238]
push str..pdg
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x411e73
push str._img_border_0__src_..doc_skinpdg.bmp__
jmp 0x411e90
lea ecx, [esp + 0xa38]
push ecx
push 0x4b151c
push ebp
call fcn.00459452
add esp, 0xc
jmp 0x411e99
push str._img_border_0__src_..doc_skinword.gif__
push ebp
call fcn.00459452
add esp, 8
push 0x4b1c68
push ebp
call fcn.00459452
add esp, 8
mov dword [esp + 0x20], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x24]
mov byte [esp + 0xc40], 0xc
cmp eax, edi
je 0x411efd
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
cmp ecx, ebx
jbe 0x411eff
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x411ef2
lea edx, [esi + 0xc]
push 1
push edx
call fcn.0046bc08
lea eax, [esi + 8]
push 1
push eax
call fcn.0046bc08
mov esi, dword [esi]
cmp esi, ebx
jne 0x411ed2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc edi
cmp edi, ecx
jb 0x411ecb
jmp 0x411eff
xor ebx, ebx
push eax
call fcn.00473336
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046da9c
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
mov byte [esp + 0xc40], 9
call fcn.0046e753
lea ecx, [esp + 0x14]
mov byte [esp + 0xc40], 8
call fcn.0046e753
lea ecx, [esp + 0x18]
mov dword [esp + 0xc40], 0xffffffff
call fcn.0046e753
jmp 0x41281a
lea ecx, [esp + 0x338]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046e7c1
mov dl, byte [0x4bfab8]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x1b9]
mov byte [esp + 0x1b8], dl
lea edx, [esp + 0x1b8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0xc40], 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1bc]
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, 0x4bfe38
call fcn.0041bc10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc44], 5
call fcn.0046e88c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc40], 4
call fcn.0046e753
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x33c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc48]
push ecx
push str._img_border_0__ALIGN_TOP__src__s_
push ebp
call fcn.00459452
mov eax, dword [0x4bb604]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xc70]
mov byte [esp + 0xc40], 7
test edi, edi
je 0x41214f
push str.width
call fcn.0046bc2c
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x412093
mov esi, dword [eax + edx*4]
test esi, esi
je 0x412093
mov eax, dword [esi + 8]
push str.width
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x4120d5
mov esi, dword [esi]
test esi, esi
jne 0x412078
push str.height
call fcn.0046bc2c
xor edx, edx
div dword [edi + 8]
mov edi, dword [edi + 4]
test edi, edi
je 0x41214f
mov esi, dword [edi + edx*4]
test esi, esi
je 0x41214f
mov eax, dword [esi + 8]
push str.height
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x4120e3
mov esi, dword [esi]
test esi, esi
jne 0x4120b8
jmp 0x41214f
test esi, esi
je 0x412093
add esi, 0xc
lea ecx, [esp + 0x14]
push esi
jmp 0x4120ef
test esi, esi
je 0x41214f
add esi, 0xc
lea ecx, [esp + 0x18]
push esi
call fcn.0046e88c
mov edx, dword [esp + 0x14]
push 0x4bfab8
push edx
call fcn.00458301
add esp, 8
test eax, eax
je 0x41211d
mov eax, dword [esp + 0x14]
push eax
push str._width_s
push ebp
call fcn.00459452
add esp, 0xc
mov ecx, dword [esp + 0x18]
push 0x4bfab8
push ecx
call fcn.00458301
add esp, 8
test eax, eax
je 0x4121eb
mov edx, dword [esp + 0x18]
push edx
push str._height_s
push ebp
call fcn.00459452
add esp, 0xc
jmp 0x4121eb
fld dword [0x4b1a14]
fcomp qword [0x491c58]
fnstsw ax
test ah, 0x40
jne 0x4121eb
fld dword [0x4b1a14]
fcomp qword [0x491c50]
fnstsw ax
test ah, 0x40
je 0x412189
push str._width100__
push ebp
call fcn.00459452
add esp, 8
jmp 0x4121eb
fld dword [0x4b1a14]
fcomp qword [0x491c48]
fnstsw ax
test ah, 0x40
je 0x4121ac
push str._height100__
push ebp
call fcn.00459452
add esp, 8
jmp 0x4121eb
fld dword [0x4b1a14]
fst qword [esp + 0x48]
fcomp qword [0x491c40]
fnstsw ax
test ah, 0x40
je 0x4121d3
push str._onload_fit___
push ebp
call fcn.00459452
add esp, 8
jmp 0x4121eb
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push str._onload_width_fwidth_
push ebp
call fcn.00459452
add esp, 0x10
mov eax, dword [0x4bfda0]
push 0x4bfab8
push eax
call fcn.00458301
add esp, 8
test eax, eax
je 0x412217
mov edx, dword [0x4bfda0]
push edx
push str._style__s_
push ebp
call fcn.00459452
add esp, 0xc
push 0x4b10ec
push ebp
call fcn.00459452
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0xc40], 6
call fcn.0046e753
lea ecx, [esp + 0x14]
mov byte [esp + 0xc40], 4
call fcn.0046e753
lea ecx, [esp + 0x10]
mov dword [esp + 0xc40], 0xffffffff
call fcn.0046e753
jmp 0x41281a
mov ecx, dword [esp + 0xc48]
lea eax, [esp + 0x338]
push eax
push 0
mov edx, dword [ecx + 0x1c]
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41281a
lea ecx, [esp + 0x20]
call fcn.0046d670
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push ebp
push ebx
mov dword [esp + 0xc4c], 0
call fcn.004115d0
mov ecx, dword [esp + 0xc54]
cmp ecx, 0xffffffff
jne 0x4122ff
mov eax, dword [esp + 0x28]
xor edi, edi
test eax, eax
jle 0x412326
mov ebp, dword [esp + 0xc60]
mov ebx, dword [esp + 0xc48]
test edi, edi
jle 0x4122df
push 1
push 0x4b0e5c
push ebp
push ebx
mov ecx, esi
call fcn.00412960
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push ebx
mov ecx, esi
call fcn.00412960
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x4122cb
jmp 0x412326
cmp ecx, eax
jge 0x412326
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esp + 0xc64]
push ecx
mov ecx, dword [esp + 0xc50]
push eax
push ecx
mov ecx, esi
call fcn.00412960
lea ecx, [esp + 0x20]
mov dword [esp + 0xc40], 0xffffffff
call fcn.0046d6a3
jmp 0x41281a
push 2
push 0
push edi
call fcn.00458f82
push edi
call fcn.00458dff
push 0
mov ebp, eax
push 0
push edi
mov dword [esp + 0x38], ebp
call fcn.00458f82
mov eax, dword [esp + 0x1c0]
add esp, 0x1c
test eax, eax
jne 0x41238c
mov edx, dword [esp + 0xc60]
mov eax, dword [esp + 0xc48]
push edi
push ebp
push 0
push 0
push 0
push 0
push edx
push eax
jmp 0x412813
mov eax, dword [esp + 0xc60]
mov ebp, dword [esp + 0xc48]
cmp eax, 1
jne 0x4123fd
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10c]
mov ebx, 0x3c
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xd0]
mov edx, 0x40000000
push ecx
mov ecx, ebp
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], edx
mov dword [esp + 0x124], 0xff
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], edx
call fcn.0046cca5
mov eax, dword [esp + 0x1a4]
xor edi, edi
test eax, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x14], edi
jbe 0x4127cf
mov ebx, dword [esp + 0xc5c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc50]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0xc50]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00411020
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
and ecx, 0xffff
sub eax, ecx
sub eax, edi
je 0x412488
mov edx, dword [esp + 0xc64]
add ecx, edi
mov edi, dword [esp + 0xc60]
push edx
mov edx, dword [esp + 0xc50]
push eax
mov eax, dword [esp + 0xc5c]
push ecx
mov ecx, dword [esp + 0xc5c]
push eax
push ecx
push edx
push edi
push ebp
mov ecx, esi
call fcn.00412840
jmp 0x41248f
mov edi, dword [esp + 0xc60]
cmp dword [esp + 0xc68], 1
jne 0x4124ff
test edi, edi
jne 0x4124ff
mov eax, dword [0x4c0704]
push str.download
push eax
call fcn.004646f0
add esp, 8
test eax, eax
je 0x412524
mov ecx, dword [0x4c0704]
push str.mail
push ecx
call fcn.004646f0
add esp, 8
test eax, eax
je 0x412524
mov edx, dword [0x4c0060]
push edx
push 0x4b151c
push ebp
call fcn.00459452
mov eax, dword [esp + 0xc64]
add esp, 0xc
mov eax, dword [eax]
lea ecx, [eax + 1]
push ecx
push eax
push str._span_id_trs_hit_d__onClick_NextHit__d___
push ebp
call fcn.00459452
add esp, 0x10
jmp 0x412524
cmp edi, 1
jne 0x412524
push 0xffffffffffffffff
mov ecx, ebp
call fcn.0046cc47
push 0xffffffffffffffff
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.0046cc30
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x40]
test ax, ax
jbe 0x412561
mov ecx, dword [esp + 0xc64]
mov edx, dword [esp + 0x3c]
and eax, 0xffff
push ecx
mov ecx, dword [esp + 0xc54]
push eax
mov eax, dword [esp + 0xc5c]
push edx
mov edx, dword [esp + 0xc58]
push eax
push ecx
push edx
push edi
push ebp
mov ecx, esi
call fcn.00412840
cmp dword [esp + 0xc68], 1
jne 0x4125ce
test edi, edi
jne 0x4125ce
mov eax, dword [0x4c0704]
push str.download
push eax
call fcn.004646f0
add esp, 8
test eax, eax
je 0x41279f
mov ecx, dword [0x4c0704]
push str.mail
push ecx
call fcn.004646f0
add esp, 8
test eax, eax
je 0x41279f
push str.__span_
push ebp
call fcn.00459452
mov edx, dword [0x4c0064]
add esp, 8
push edx
push 0x4b151c
push ebp
call fcn.00459452
add esp, 0xc
jmp 0x41279f
cmp edi, 1
jne 0x41279f
mov edi, dword [esp + 0xc48]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046cc47
push 0xffffffffffffffff
mov ecx, edi
mov esi, eax
call fcn.0046cc30
add esi, eax
mov eax, dword [esp + 0x18]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x58], esi
call fcn.0046cc5e
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
call fcn.0046cc87
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call fcn.0046cc5e
lea edx, [esp + 0xd0]
mov ecx, edi
push edx
call fcn.0046cc87
mov ecx, dword [ebx + 8]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x44], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x412662
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x412657
push eax
mov dword [esp + 0x48], ecx
call fcn.00473336
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x412782
mov edx, dword [ebx + 4]
cmp edx, edi
jne 0x41269d
lea edi, [ebp*8]
push edi
call fcn.0047330d
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x412782
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x4126de
cmp ecx, ebp
jge 0x4126ce
mov eax, ebp
lea edi, [edx + ecx*8]
sub eax, ecx
lea ecx, [eax*8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 8], ebp
jmp 0x412782
jle 0x4126d6
sub ecx, ebp
mov dword [esp + 0x44], ecx
mov dword [ebx + 8], ebp
jmp 0x412782
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x412708
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4126fc
mov eax, 4
jmp 0x412708
cmp eax, 0x400
jle 0x412708
mov eax, 0x400
add eax, edi
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x412716
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
push ecx
call fcn.0047330d
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x58], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
shl ecx, 3
lea edi, [eax + edx*8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
push eax
call fcn.00473336
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
add esp, 8
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0xc48]
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc58]
mov eax, dword [esp + 0x14]
inc eax
mov edi, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
inc edx
mov dword [ecx], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x1a4]
cmp eax, ecx
jb 0x41241d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
and eax, 0xffff
sub ecx, eax
sub ecx, edx
je 0x41281a
mov edi, dword [esp + 0xc64]
add eax, edx
mov edx, dword [esp + 0xc54]
push edi
push ecx
mov ecx, dword [esp + 0xc54]
push eax
mov eax, dword [esp + 0xc5c]
push edx
mov edx, dword [esp + 0xc70]
push eax
push ecx
push edx
push ebp
mov ecx, esi
call fcn.00412840
mov ecx, dword [esp + 0xc38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc34
ret 0x2c