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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x45cbd9
push str.HTMLGump_frame0
push eax
call fcn.004b9f90
mov ecx, dword [esi + 0x40]
add esp, 8
mov dword [ecx + 4], ebp
mov edx, dword [esi + 0x24]
push str.HTMLGump_frame0
imul edx, dword [esi + 0x20]
lea eax, [edx + edx + 4]
push eax
call fcn.004b9f50
mov ecx, dword [esi + 0x40]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x20]
push edx
push eax
push 0xa28
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x64], ecx
call fcn.004a9760
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push edx
push 0xa29
call fcn.004a9760
lea eax, [esp + 0x40]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0xa2a
call fcn.004a9760
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x40]
push ecx
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 4]
push edx
add ecx, 4
lea edx, [esp + 0x78]
push ecx
push ebp
push ebp
push edx
push 0xa28
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, eax
add esp, 0x4c
sub ecx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x18]
cmp edi, ecx
jge 0x45cd23
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x40]
push ecx
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
add eax, 4
push eax
push ebp
push edi
push ecx
push 0xa29
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esi + 0x20]
mov ecx, eax
add esp, 0x20
sub ecx, edx
cmp edi, ecx
jl 0x45cce6
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x40]
push eax
sub eax, edx
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x4c]
add ecx, 4
push ecx
push ebp
push eax
push edx
push 0xa2a
push fcn.004d4cf0
call fcn.004a9980
mov ebx, dword [esp + 0x34]
mov edi, dword [esi + 0x24]
lea ecx, [esp + 0x38]
lea eax, [ebx + ebx]
mov dword [esp + 0x48], eax
sub edi, eax
lea eax, [esp + 0x44]
push eax
push ecx
push 0xa2b
call fcn.004a9760
lea edx, [esp + 0x40]
lea eax, [esp + 0x48]
push edx
push eax
push 0xa2c
call fcn.004a9760
lea ecx, [esp + 0x58]
lea edx, [esp + 0x48]
push ecx
push edx
push 0xa2d
call fcn.004a9760
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x58]
add esp, 0x44
cmp ecx, eax
jge 0x45cdae
mov eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jge 0x45cdba
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x20]
add edi, ebx
mov dword [esp + 0x34], ebp
cmp ebx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edi
mov ebp, ebx
jge 0x45ceb5
jmp 0x45cde3
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x20]
push ecx
mov ecx, dword [eax + 4]
push edx
add ecx, 4
lea edx, [esp + 0x3c]
push ecx
push ebp
push 0
push edx
push 0xa2b
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x38]
sub ecx, edx
add esp, 0x20
cmp edi, ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], ecx
jge 0x45ce76
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x40]
push ecx
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x5c]
add eax, 4
push eax
push ebp
push edi
push ecx
push 0xa2c
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esi + 0x20]
mov ecx, eax
add esp, 0x20
sub ecx, edx
cmp edi, ecx
jl 0x45ce39
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x40]
push eax
sub eax, edx
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x3c]
add ecx, 4
push ecx
push ebp
push eax
push edx
push 0xa2d
push fcn.004d4cf0
call fcn.004a9980
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
add ebp, ecx
add esp, 0x20
cmp ebp, eax
jl 0x45cddf
lea edi, [esi + 0x11a]
push edi
call fcn.004d9930
add esp, 4
test eax, eax
je 0x45cf67
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x30]
sub eax, ebp
mov dword [esp + 0x3c], eax
mov al, byte [esi + 0x118]
test al, al
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], ebx
push 0x14
je 0x45cf37
call fcn.004db9d0
push edi
call fcn.004dbdc0
mov ecx, dword [esi + 0x20]
mov edx, eax
lea eax, [esp + 0x3c]
push eax
mov eax, ecx
sub eax, edx
push 1
cdq
sub eax, edx
push 0x10
sar eax, 1
push eax
push edi
push ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 4]
add edx, 4
push edx
call fcn.004dbf10
add esp, 0x24
call fcn.004dba50
jmp 0x45cf6f
call fcn.004db9d0
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x40]
push 1
lea ecx, [ebp + 2]
push 0x10
push ecx
mov ecx, dword [eax + 4]
push edi
add ecx, 4
push edx
push ecx
call fcn.004dbf10
add esp, 0x20
call fcn.004dba50
jmp 0x45cf6f
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
lea eax, [esi + 0x31a]
push eax
call fcn.004d9930
add esp, 4
test eax, eax
je 0x45cff2
mov eax, ebp
push 0
cdq
sub eax, edx
mov edx, dword [esi + 0x20]
mov edi, eax
mov eax, dword [esi + 0x24]
sar edi, 1
sub edx, edi
sub eax, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.004db9d0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub eax, edx
add esp, 4
test eax, eax
jle 0x45cfed
lea ecx, [esp + 0x34]
push 0
push ecx
lea edx, [ebx + 2]
push 1
push edx
mov edx, dword [esi + 0x40]
lea ecx, [esi + 0x31a]
push edi
push ecx
mov ecx, dword [esi + 0x20]
push ecx
push eax
mov eax, dword [edx + 4]
add eax, 4
push eax
call fcn.004dd2e0
add esp, 0x24
call fcn.004dba50
mov ecx, dword [esi + 0x20]
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esi + 0x24]
sar eax, 1
mov dword [esp + 0x34], eax
sub ecx, eax
mov al, byte [esi + 0x51a]
lea edi, [ebx + 5]
test al, al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
je 0x45d093
push 4
call fcn.004db9d0
push str.TO:
call fcn.004dbdc0
lea ecx, [esp + 0x3c]
mov edx, 0x78
push ecx
mov ecx, dword [esi + 0x40]
push 1
sub edx, eax
mov eax, dword [esi + 0x20]
push edi
push edx
mov edx, dword [ecx + 4]
push str.TO:
add edx, 4
push eax
push edx
call fcn.004dbf10
lea ebx, [esi + 0x51e]
push ebx
call fcn.004d9930
add esp, 0x28
test eax, eax
je 0x45d08b
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push 1
push edi
push 0x78
push ebx
add eax, 4
push ecx
push eax
call fcn.004dbf10
add esp, 0x1c
call fcn.004dba50
add edi, 0x17
mov al, byte [esi + 0x51b]
test al, al
je 0x45d112
push 4
call fcn.004db9d0
push str.FROM:
call fcn.004dbdc0
lea ecx, [esp + 0x3c]
mov edx, 0x78
push ecx
mov ecx, dword [esi + 0x40]
push 1
sub edx, eax
mov eax, dword [esi + 0x20]
push edi
push edx
mov edx, dword [ecx + 4]
push str.FROM:
add edx, 4
push eax
push edx
call fcn.004dbf10
lea ebx, [esi + 0x71e]
push ebx
call fcn.004d9930
add esp, 0x28
test eax, eax
je 0x45d10a
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push 1
push edi
push 0x78
push ebx
add eax, 4
push ecx
push eax
call fcn.004dbf10
add esp, 0x1c
call fcn.004dba50
add edi, 0x17
mov al, byte [esi + 0x51c]
test al, al
je 0x45d191
push 4
call fcn.004db9d0
push str.DATE:
call fcn.004dbdc0
lea ecx, [esp + 0x3c]
mov edx, 0x78
push ecx
mov ecx, dword [esi + 0x40]
push 1
sub edx, eax
mov eax, dword [esi + 0x20]
push edi
push edx
mov edx, dword [ecx + 4]
push str.DATE:
add edx, 4
push eax
push edx
call fcn.004dbf10
lea ebx, [esi + 0x91e]
push ebx
call fcn.004d9930
add esp, 0x28
test eax, eax
je 0x45d189
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push 1
push edi
push 0x78
push ebx
add eax, 4
push ecx
push eax
call fcn.004dbf10
add esp, 0x1c
call fcn.004dba50
add edi, 0x17
mov al, byte [esi + 0x51d]
test al, al
je 0x45d20d
push 4
call fcn.004db9d0
push str.SUBJECT:
call fcn.004dbdc0
lea ecx, [esp + 0x3c]
mov edx, 0x78
push ecx
mov ecx, dword [esi + 0x40]
push 1
sub edx, eax
mov eax, dword [esi + 0x20]
push edi
push edx
mov edx, dword [ecx + 4]
push str.SUBJECT:
add edx, 4
push eax
push edx
call fcn.004dbf10
lea ebx, [esi + 0xb1e]
push ebx
call fcn.004d9930
add esp, 0x28
test eax, eax
je 0x45d208
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push 1
push edi
push 0x78
push ebx
add eax, 4
push ecx
push eax
call fcn.004dbf10
add esp, 0x1c
call fcn.004dba50
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
push 0xa2e
call fcn.004a9760
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0xa2f
call fcn.004a9760
lea edx, [esp + 0x38]
lea eax, [esp + 0x28]
push edx
push eax
push 0xa30
call fcn.004a9760
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x20]
mov ebx, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 4]
add ecx, 4
push edx
push ecx
push ebx
lea edx, [esp + 0x78]
push 0
push edx
push 0xa2e
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x5c]
sub ecx, edx
add esp, 0x44
cmp edi, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], ecx
jge 0x45d2e3
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x40]
push ecx
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
add eax, 4
push eax
push ebx
push edi
push ecx
push 0xa2f
push fcn.004d4cf0
call fcn.004a9980
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esi + 0x20]
mov ecx, eax
add esp, 0x20
sub ecx, edx
cmp edi, ecx
jl 0x45d2a6
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x40]
push eax
sub eax, edx
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x4c]
add ecx, 4
push ecx
push ebx
push eax
push edx
push 0xa30
push fcn.004d4cf0
call fcn.004a9980
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret