Function at 0x10d00200
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
mov esi, ecx
mov al, byte [edi + 4]
mov bl, byte [edi + 6]
test al, 1
mov byte [esp + 0x10], bl
je 0x10d00286
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
and edx, 0xff
mov ecx, dword [eax]
push edx
push str.Write_Simple:_type__d__NULL_r_n
push 0x100
push eax
call dword [ecx + 0x14]
mov esi, dword [esi + 0x2c]
add esp, 0x10
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
or bl, 0x80
mov byte [ecx + edx], bl
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d0026a
mov dword [esi + 0xc], eax
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov ebp, dword [esi + 0x2c]
push 1
mov ecx, ebp
mov dword [esp + 0x88], 0
mov eax, dword [ebp]
call dword [eax + 0x38]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov byte [ecx + edx], bl
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, edx
mov dword [ebp + 0x14], edx
cmp eax, ecx
jbe 0x10d002ba
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
and eax, 0xff
cmp eax, 0x13
ja case.0x10d002cc.15
jmp dword [eax*4 + 0x10d00990]
mov esi, dword [esi + 0x24]
push str.Write_NO_TYPE:_r_n
push 0x100
push esi
mov eax, dword [esi]
call dword [eax + 0x14]
mov eax, dword [esp + 0x90]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
movsx edx, word [edi]
mov eax, dword [esi + 0x24]
push edx
push str.Write_INT:_value__d__r_n
push 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi + 0x2c]
mov bx, word [edi]
add esp, 0x10
mov ecx, esi
mov eax, dword [esi]
push 2
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
xor eax, eax
mov al, bh
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d00343
mov dword [esi + 0xc], eax
push ebx
mov ecx, esi
call fcn.10bbb390
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov eax, dword [esi + 0x24]
xor edx, edx
mov dx, word [edi]
mov ecx, dword [eax]
push edx
push str.Write_UINT:_value__u__r_n
push 0x100
push eax
call dword [ecx + 0x14]
mov esi, dword [esi + 0x2c]
mov bx, word [edi]
add esp, 0x10
mov ecx, esi
mov eax, dword [esi]
push 2
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
xor eax, eax
mov al, bh
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d003a7
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 8]
mov byte [eax + ecx], bl
jmp 0x10d00788
mov ecx, dword [edi]
mov eax, dword [esi + 0x24]
push ecx
push str.Write_LONG:_value__d__r_n
mov edx, dword [eax]
push 0x100
push eax
call dword [edx + 0x14]
mov esi, dword [esi + 0x2c]
mov edi, dword [edi]
add esp, 0x10
mov ecx, esi
mov edx, dword [esi]
push 4
call dword [edx + 0x38]
mov eax, edi
mov ecx, edi
shr eax, 0x18
mov byte [esp + 0x10], al
mov edx, edi
mov eax, dword [esp + 0x10]
shr ecx, 0x10
mov byte [esp + 0x14], cl
push eax
shr edx, 8
mov ecx, esi
mov byte [esp + 0x1c], dl
call fcn.10bbb390
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10bbb390
mov edx, dword [esp + 0x18]
jmp 0x10d00503
mov edx, dword [edi]
mov eax, dword [esi + 0x24]
push edx
push str.Write_ULONG:_value__u__r_n
mov ecx, dword [eax]
push 0x100
push eax
call dword [ecx + 0x14]
mov esi, dword [esi + 0x2c]
mov edi, dword [edi]
add esp, 0x10
mov ecx, esi
mov eax, dword [esi]
push 4
call dword [eax + 0x38]
mov ecx, edi
mov edx, edi
shr ecx, 0x10
shr edx, 8
mov eax, edi
mov byte [esp + 0x18], cl
mov ecx, dword [esi + 8]
mov byte [esp + 0x14], dl
mov edx, dword [esi + 0x14]
shr eax, 0x18
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d0046f
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.10bbb390
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10bbb390
push edi
mov ecx, esi
call fcn.10bbb390
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov eax, dword [esi + 0x24]
push str.Write_FLOAT:_r_n
push 0x100
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, dword [esi + 0x2c]
mov eax, dword [edi]
add esp, 0xc
mov ecx, esi
mov edx, dword [esi]
mov dword [esp + 0x18], eax
push 4
call dword [edx + 0x38]
mov edi, dword [esp + 0x18]
mov eax, edi
mov ecx, edi
shr eax, 0x18
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x18]
shr ecx, 0x10
mov edx, edi
mov byte [esp + 0x14], cl
shr edx, 8
push eax
mov ecx, esi
mov byte [esp + 0x14], dl
call fcn.10bbb390
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10bbb390
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.10bbb390
push edi
mov ecx, esi
call fcn.10bbb390
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov eax, dword [esi + 0x24]
push str.Write_DOUBLE:_r_n
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov al, byte [edi + 4]
add esp, 0xc
test al, 1
je 0x10d00553
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jmp 0x10d00563
mov edx, dword [esi + 0x28]
push edi
push edx
call sym.PBVM90.dll_ot_get_valptr
fld qword [eax]
fstp qword [esp + 0x1c]
mov esi, dword [esi + 0x2c]
push 8
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
mov al, byte [esp + 0x23]
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d0058f
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x22]
push ecx
mov ecx, esi
call fcn.10bbb390
mov edx, dword [esp + 0x21]
mov ecx, esi
push edx
call fcn.10bbb390
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.10bbb390
mov ecx, dword [esp + 0x1f]
push ecx
mov ecx, esi
call fcn.10bbb390
mov edx, dword [esp + 0x1e]
mov ecx, esi
push edx
call fcn.10bbb390
mov eax, dword [esp + 0x1d]
mov ecx, esi
push eax
call fcn.10bbb390
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10bbb390
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov ecx, dword [esi + 0x24]
push 0x100
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x10d0062d
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push eax
push ecx
call sym.PBVM90.dll_ConvDecimalToAscii
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x28]
push ecx
push str.Write_DECIMAL:_value__s__r_n
mov edx, dword [eax]
push 0x100
push eax
call dword [edx + 0x14]
add esp, 0x10
mov esi, dword [esi + 0x2c]
mov edi, dword [edi]
push 0xe
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x38]
mov ax, word [edi]
mov ecx, esi
push eax
call fcn.10cfa1c0
mov ax, word [edi + 2]
mov ecx, esi
push eax
call fcn.10cfa1c0
mov eax, dword [esi]
mov bx, word [edi + 4]
push 2
mov ecx, esi
call dword [eax + 0x38]
xor ecx, ecx
mov cl, bh
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.10bbb390
push ebx
mov ecx, esi
call fcn.10bbb390
mov ax, word [edi + 6]
mov ecx, esi
push eax
call fcn.10cfa1c0
mov cx, word [edi + 8]
push ecx
mov ecx, esi
call fcn.10cfa1c0
mov dx, word [edi + 0xa]
mov ecx, esi
push edx
call fcn.10cfa1c0
mov di, word [edi + 0xc]
mov ecx, esi
push edi
call fcn.10cfa1c0
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov edx, dword [edi]
mov eax, dword [esi + 0x24]
push edx
push str.Write_STRING:_value__.30s__r_n
mov ecx, dword [eax]
push 0x100
push eax
call dword [ecx + 0x14]
mov ebx, dword [edi]
mov esi, dword [esi + 0x2c]
add esp, 0x10
test ebx, ebx
jne 0x10d006f8
push 0xffffffffffffffff
mov ecx, esi
call fcn.10cf9fb0
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, esi
inc ebp
push ebp
call fcn.10cf9fb0
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x38]
xor edi, edi
test ebp, ebp
jbe 0x10d0097d
mov cl, byte [ebx + edi]
push ecx
mov ecx, esi
call fcn.10bbb390
inc edi
cmp edi, ebp
jb 0x10d00721
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
cmp word [edi], 0
mov ecx, 0x10e19194
jne 0x10d00752
mov ecx, 0x10e1919c
mov eax, dword [esi + 0x24]
push ecx
push str.Write_BOOL:_value__s__r_n
push 0x100
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
movsx eax, word [edi]
mov esi, dword [esi + 0x2c]
add esp, 0x10
xor ebx, ebx
mov ecx, esi
test eax, eax
mov eax, dword [esi]
push 1
setne bl
call dword [eax + 0x38]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
mov byte [ecx + edx], bl
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc edx
mov eax, edx
mov dword [esi + 0x14], edx
cmp eax, ecx
jbe 0x10d0097d
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov edi, dword [edi]
mov eax, dword [esi + 0x24]
mov edx, dword [edi]
mov ecx, dword [eax]
push edx
push str.Write_BLOB:_length__ld__r_n
push 0x100
push eax
call dword [ecx + 0x14]
mov ebx, dword [edi]
mov esi, dword [esi + 0x2c]
add esp, 0x10
mov eax, dword [esi]
lea ecx, [ebx + 4]
push ecx
mov ecx, esi
call dword [eax + 0x38]
push ebx
mov ecx, esi
call fcn.10cf9fb0
xor ecx, ecx
test ebx, ebx
jbe 0x10d0097d
mov edx, dword [esi + 0x14]
mov ebp, dword [esi + 8]
mov al, byte [ecx + edi + 4]
mov byte [edx + ebp], al
mov ebp, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
inc ebp
mov eax, ebp
mov dword [esi + 0x14], ebp
cmp eax, edx
jbe 0x10d0080d
mov dword [esi + 0xc], eax
inc ecx
cmp ecx, ebx
jb 0x10d007ed
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov ecx, dword [esi + 0x24]
push 0x100
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x10d00891
mov eax, dword [edi]
xor edx, edx
mov ecx, dword [eax]
mov dl, byte [eax + 0xa]
push ecx
xor ecx, ecx
mov cl, byte [eax + 9]
push edx
push ecx
xor edx, edx
movsx ecx, word [eax + 4]
mov dl, byte [eax + 8]
add ecx, 0x76c
push edx
push ecx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 6]
mov dl, byte [eax + 7]
inc ecx
push edx
push ecx
lea edx, [esp + 0x5c]
push str._d__d__04.4d__d:_d:_d._04.4d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x24]
add esp, 0x24
lea edx, [esp + 0x40]
mov ecx, dword [eax]
push edx
push str.Write_DATETIME:_value__s__r_n
push 0x100
push eax
call dword [ecx + 0x14]
add esp, 0x10
mov esi, dword [esi + 0x2c]
mov edi, dword [edi]
push 0xb
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.10cf9fb0
mov ax, word [edi + 4]
mov ecx, esi
push eax
call fcn.10cfa1c0
mov cl, byte [edi + 6]
push ecx
mov ecx, esi
call fcn.10bbb390
mov dl, byte [edi + 7]
mov ecx, esi
push edx
call fcn.10bbb390
mov al, byte [edi + 8]
mov ecx, esi
push eax
call fcn.10bbb390
mov cl, byte [edi + 9]
push ecx
mov ecx, esi
call fcn.10bbb390
mov dl, byte [edi + 0xa]
mov ecx, esi
push edx
call fcn.10bbb390
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov cl, byte [edi]
mov edx, dword [eax]
push ecx
push ecx
push str.Write_CHAR:_value__c___ordinal__d__r_n
push 0x100
push eax
call dword [edx + 0x14]
mov al, byte [edi]
mov ecx, dword [esi + 0x2c]
add esp, 0x14
push eax
call fcn.10cfa040
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov esi, dword [esi + 0x24]
push str.Write_ANY:__EMPTY__r_n
push 0x100
push esi
mov ecx, dword [esi]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x90]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4
mov esi, dword [esi + 0x20]
push 0x4d7
push 0x80042001
push esi
mov edx, dword [esi]
call dword [edx + 0x34]
add esp, 0xc
mov dword [esp + 0x84], 0x80042001
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4