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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0xb8]
mov ebp, dword [esi + 0x98]
push edi
add ebp, 9
mov cx, word [eax]
add eax, 2
mov dword [esi + 0x64], ecx
mov dword [esi + 0xb8], eax
mov dx, word [eax]
add eax, 2
xor ecx, ecx
mov dword [esi + 0x60], edx
mov dword [esi + 0xb8], eax
mov cx, word [eax]
mov edx, ecx
add eax, 2
dec edx
mov dword [esi + 0x58], ecx
or edx, 3
mov dword [esi + 0xb8], eax
add eax, 2
lea ecx, [edx + 1]
xor edx, edx
mov dword [esi + 0x70], ecx
mov dx, word [eax - 2]
mov dword [esi + 0x5c], edx
mov dword [esi + 0xb8], eax
mov dl, byte [eax]
inc eax
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x5c]
imul eax, ecx
mov dword [esi + 0x9c], eax
add eax, 0x6428
push eax
mov byte [esi + 0x41], dl
mov dword [esi + 0x98], ebp
call sub.MFC42.DLL_operatornew
mov edx, dword [esi + 0x9c]
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
lea eax, [edi + 0x28]
lea ecx, [eax + 0x400]
mov dword [esi + 0xb0], ecx
add ecx, edx
mov dword [esp + 0x30], ecx
add ecx, 2
mov edx, 0x1000
xor ebx, ebx
mov word [ecx + 2], bx
mov word [ecx], bx
add ecx, 6
dec edx
jne 0x4db6f0
mov dword [edi], 0x28
mov ecx, dword [esi + 0x58]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x5c]
neg edx
mov ecx, 0x100
mov dword [edi + 8], edx
mov word [edi + 0xc], 1
mov word [edi + 0xe], 8
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
mov cl, byte [esi + 0x41]
test cl, 0x80
je 0x4db7e0
and ecx, 7
mov edi, 1
inc ecx
shl edi, cl
cmp dword [esi + 0x8c], ebx
je 0x4db77d
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xb8]
lea ecx, [ecx + ecx*2]
lea ebp, [ecx + edx]
xor ecx, ecx
xor edx, edx
mov ch, byte [ebp + 2]
mov dl, byte [ebp]
mov cl, byte [ebp + 1]
shl ecx, 8
or ecx, edx
mov dword [esi + 0xa4], ecx
mov edx, dword [esi + 0x98]
lea ecx, [edi + edi*2]
add edx, ecx
cmp edi, ebx
mov dword [esi + 0x98], edx
jbe 0x4db843
mov edx, dword [esi + 0xb8]
add eax, 4
mov cl, byte [edx]
mov byte [eax - 2], cl
mov edx, dword [esi + 0xb8]
inc edx
mov ecx, edx
mov dword [esi + 0xb8], edx
mov dl, byte [ecx]
mov byte [eax - 3], dl
mov ecx, dword [esi + 0xb8]
inc ecx
mov dword [esi + 0xb8], ecx
mov cl, byte [ecx]
mov byte [eax - 4], cl
mov ebp, dword [esi + 0xb8]
inc ebp
dec edi
mov dword [esi + 0xb8], ebp
mov byte [eax - 1], 0
jne 0x4db796
jmp 0x4db843
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 0xac]
cmp ecx, ebx
je 0x4db813
mov ebp, dword [esi + 0x90]
xor ecx, ecx
lea edx, [edi + ebp*2]
add ebp, edx
xor edx, edx
mov ch, byte [ebp + 2]
mov dl, byte [ebp]
mov cl, byte [ebp + 1]
shl ecx, 8
or ecx, edx
mov dword [esi + 0xa4], ecx
mov edx, dword [esi + 0x84]
xor ecx, ecx
cmp edx, ebx
jle 0x4db843
mov dl, byte [edi]
inc edi
mov byte [eax + 2], dl
add eax, 4
mov dl, byte [edi]
inc edi
mov byte [eax - 3], dl
mov dl, byte [edi]
mov byte [eax - 1], 0
mov byte [eax - 4], dl
mov edx, dword [esi + 0x84]
inc edi
inc ecx
cmp ecx, edx
jl 0x4db81f
mov eax, dword [esi + 0xb8]
xor ecx, ecx
mov edx, 1
mov cl, byte [eax]
inc eax
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x98]
inc eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x98], eax
mov eax, edx
shl eax, cl
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x40], 0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], edx
mov dword [esi + 0x80], ebx
add eax, 2
mov dword [esi + 0x7c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
dec eax
inc ecx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x44]
inc eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jb 0x4db8e2
mov dl, byte [esi + 0x40]
mov bl, 1
shl bl, cl
mov ecx, edx
and ecx, 0xff
dec bl
and ebx, 0xff
and ebx, ecx
mov cl, byte [esi + 0x44]
shr dl, cl
mov ecx, dword [esi + 0x44]
mov ebp, ebx
mov dword [esp + 0x38], ebp
sub eax, ecx
mov byte [esi + 0x40], dl
jmp 0x4dba95
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
xor edx, edx
cmp ecx, edi
mov dl, byte [esi + 0x40]
mov ebp, edx
jb 0x4db958
mov ecx, dword [esi + 0xb8]
xor edx, edx
mov ebx, dword [esi + 0x98]
mov dl, byte [ecx]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], edx
mov edi, dword [esi + 0x54]
lea edx, [ecx + 1]
lea ecx, [edi + 1]
mov dword [esi + 0xb8], edx
add ebx, ecx
mov dword [esi + 0x98], ebx
mov ecx, ebx
cmp ecx, dword [esi + 0x78]
jle 0x4db93d
sub ecx, edi
dec ecx
or dl, 0xff
mov dword [esi + 0x98], ecx
mov byte [esp + 0x28], dl
jmp 0x4db972
test edi, edi
jne 0x4db958
dec edx
dec ecx
mov dword [esi + 0xb8], edx
or dl, 0xff
mov dword [esi + 0x98], ecx
mov byte [esp + 0x28], dl
jmp 0x4db972
mov ecx, dword [esi + 0x50]
inc ecx
mov dword [esi + 0x50], ecx
mov ecx, dword [esi + 0xb8]
mov dl, byte [ecx]
inc ecx
mov byte [esp + 0x28], dl
mov dword [esi + 0xb8], ecx
mov ecx, dword [esi + 0x44]
mov byte [esi + 0x40], dl
sub ecx, eax
cmp ecx, 8
ja 0x4db9c3
mov cl, byte [esi + 0x44]
mov bl, byte [esi + 0x4c]
sub cl, bl
mov bl, 1
shl bl, cl
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x28]
and ecx, 0xff
dec bl
and ebx, 0xff
and ebx, ecx
mov ecx, eax
shl ebx, cl
mov cl, byte [esp + 0x13]
shr dl, cl
add ebp, ebx
mov dword [esp + 0x38], ebp
mov byte [esi + 0x40], dl
mov edx, dword [esi + 0x44]
sub eax, edx
add eax, 8
jmp 0x4dba95
mov edx, dword [esp + 0x28]
mov ecx, eax
and edx, 0xff
shl edx, cl
mov ecx, dword [esi + 0x50]
add ebp, edx
cmp ecx, edi
jb 0x4dba38
mov ecx, dword [esi + 0xb8]
mov ebx, dword [esi + 0x98]
xor edx, edx
mov dl, byte [ecx]
lea edi, [ecx + 1]
mov dword [esi + 0x54], edx
mov dword [esi + 0xb8], edi
lea ecx, [edx + 1]
mov dword [esi + 0x50], 0
add ebx, ecx
mov dword [esi + 0x98], ebx
mov ecx, ebx
cmp ecx, dword [esi + 0x78]
jle 0x4dba1f
sub ecx, edx
mov byte [esp + 0x2c], 0xff
dec ecx
mov dword [esi + 0x98], ecx
jmp 0x4dba52
test edx, edx
jne 0x4dba38
dec edi
dec ecx
mov dword [esi + 0xb8], edi
mov dword [esi + 0x98], ecx
mov byte [esp + 0x2c], 0xff
jmp 0x4dba52
mov ecx, dword [esi + 0x50]
inc ecx
mov dword [esi + 0x50], ecx
mov ecx, dword [esi + 0xb8]
mov dl, byte [ecx]
inc ecx
mov byte [esp + 0x2c], dl
mov dword [esi + 0xb8], ecx
mov dl, byte [esi + 0x44]
mov cl, byte [esi + 0x4c]
sub dl, cl
mov bl, 1
sub dl, 8
mov cl, dl
shl bl, cl
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
dec bl
and ebx, 0xff
and ebx, ecx
lea ecx, [eax + 8]
shl ebx, cl
mov cl, dl
mov dl, byte [esp + 0x2c]
shr dl, cl
add ebp, ebx
mov dword [esp + 0x38], ebp
mov byte [esi + 0x40], dl
mov edx, dword [esi + 0x44]
sub eax, edx
add eax, 0x10
mov ecx, ebp
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x40]
and ecx, 0xffff
cmp ecx, eax
je 0x4dc243
dec eax
cmp ecx, eax
jne 0x4dbd01
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
cmp eax, ecx
mov dword [esi + 0x44], ecx
mov dword [esp + 0x18], edx
jb 0x4dbaf2
mov dl, byte [esi + 0x40]
mov bl, 1
shl bl, cl
mov edi, edx
and edi, 0xff
shr dl, cl
dec bl
and ebx, 0xff
and ebx, edi
sub eax, ecx
mov byte [esi + 0x40], dl
mov dword [esi + 0x4c], eax
jmp 0x4dbc2a
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
xor ebx, ebx
cmp ecx, edx
mov bl, byte [esi + 0x40]
jb 0x4dbb61
mov edi, dword [esi + 0xb8]
mov ebp, dword [esi + 0x98]
xor edx, edx
mov dl, byte [edi]
inc edi
mov dword [esi + 0x54], edx
mov dword [esi + 0xb8], edi
lea ecx, [edx + 1]
mov dword [esi + 0x50], 0
add ebp, ecx
mov dword [esi + 0x98], ebp
mov ecx, ebp
cmp ecx, dword [esi + 0x78]
jle 0x4dbb46
sub ecx, edx
dec ecx
mov dword [esi + 0x98], ecx
or cl, 0xff
mov byte [esp + 0x1c], cl
jmp 0x4dbb7c
test edx, edx
jne 0x4dbb61
dec edi
dec ecx
mov dword [esi + 0x98], ecx
or cl, 0xff
mov dword [esi + 0xb8], edi
mov byte [esp + 0x1c], cl
jmp 0x4dbb7c
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0xb8]
inc ecx
inc edx
mov dword [esi + 0x50], ecx
mov cl, byte [edx - 1]
mov byte [esp + 0x1c], cl
mov dword [esi + 0xb8], edx
mov edx, dword [esi + 0x44]
mov byte [esi + 0x40], cl
sub edx, eax
cmp edx, 8
ja 0x4dbbcd
mov cl, byte [esi + 0x44]
mov dl, byte [esi + 0x4c]
sub cl, dl
mov dl, 1
shl dl, cl
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x1c]
and ecx, 0xff
dec dl
and edx, 0xff
and edx, ecx
mov ecx, eax
shl edx, cl
mov cl, byte [esp + 0x13]
add ebx, edx
mov dl, byte [esp + 0x1c]
shr dl, cl
mov byte [esi + 0x40], dl
mov edx, dword [esi + 0x44]
sub eax, edx
add eax, 8
mov dword [esi + 0x4c], eax
jmp 0x4dbc2a
mov edx, dword [esp + 0x1c]
mov ecx, eax
and edx, 0xff
shl edx, cl
mov ecx, esi
add ebx, edx
call fcn.004dc450
mov dl, byte [esi + 0x44]
mov cl, byte [esi + 0x4c]
sub dl, cl
mov byte [esp + 0x3c], al
sub dl, 8
mov al, 1
mov cl, dl
mov edi, dword [esi + 0x4c]
shl al, cl
mov ecx, dword [esp + 0x3c]
and ecx, 0xff
dec al
and eax, 0xff
and eax, ecx
lea ecx, [edi + 8]
shl eax, cl
mov cl, dl
add ebx, eax
mov al, byte [esp + 0x3c]
shr al, cl
sub edi, dword [esi + 0x44]
add edi, 0x10
mov byte [esi + 0x40], al
mov dword [esi + 0x4c], edi
mov eax, dword [esp + 0x14]
mov edx, ebx
and edx, 0xffff
mov dword [esp + 0x20], ebx
cmp edx, eax
jg 0x4dc1fe
test byte [esi + 0x41], 0x40
je 0x4dbcb4
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x58]
cmp eax, ecx
jne 0x4dbc9a
mov eax, dword [esi + 0x68]
mov dword [esi + 0x7c], 0
cmp eax, 1
jne 0x4dbc65
add dword [esi + 0x6c], 8
cmp eax, 2
jne 0x4dbc6e
add dword [esi + 0x6c], 8
cmp eax, 3
jne 0x4dbc77
add dword [esi + 0x6c], 4
cmp eax, 4
jne 0x4dbc80
add dword [esi + 0x6c], 2
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x5c]
cmp ecx, edx
jl 0x4dbc9a
lea ecx, [eax + 1]
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x7c]
imul eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xb0]
add eax, edx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x7c]
jmp 0x4dbce1
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x58]
cmp edx, eax
jne 0x4dbcd2
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], 0
inc eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x70]
add eax, ecx
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jg 0x4db8a7
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], bl
jmp 0x4db8a7
cmp ecx, dword [esp + 0x18]
jge 0x4dbf24
mov edx, dword [esp + 0x14]
xor eax, eax
mov ebx, ebp
mov ebp, dword [esp + 0x30]
cmp ecx, edx
jl 0x4dbd4d
mov ecx, ebx
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*2]
mov word [ecx + 4], ax
mov eax, ebx
mov bx, word [ecx + 2]
cmp bx, ax
jae 0x4dc215
mov edx, dword [esp + 0x14]
mov ecx, ebx
and ecx, 0xffff
cmp ecx, edx
jge 0x4dbd1b
test byte [esi + 0x41], 0x40
je 0x4dbdbd
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x58]
cmp edx, ecx
jne 0x4dbda3
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x7c], 0
cmp ecx, 1
jne 0x4dbd70
add dword [esi + 0x6c], 8
cmp ecx, 2
jne 0x4dbd79
add dword [esi + 0x6c], 8
cmp ecx, 3
jne 0x4dbd82
add dword [esi + 0x6c], 4
cmp ecx, 4
jne 0x4dbd8b
add dword [esi + 0x6c], 2
mov edx, dword [esi + 0x6c]
mov edi, dword [esi + 0x5c]
cmp edx, edi
jl 0x4dbda3
inc ecx
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x7c]
imul ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0xb0]
add ecx, edi
mov byte [edx + ecx], bl
mov edx, dword [esi + 0x7c]
jmp 0x4dbdea
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x58]
cmp ecx, edx
jne 0x4dbddb
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x7c], 0
inc ecx
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x7c]
imul ecx, dword [esi + 0x70]
add ecx, edx
inc edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi + 0x9c]
cmp ecx, edx
jg 0x4dbe01
mov edx, dword [esi + 0xb0]
mov byte [edx + ecx], bl
test ax, ax
je 0x4dbedb
and eax, 0xffff
lea eax, [eax + eax*2]
mov dl, byte [ebp + eax*2]
lea edi, [ebp + eax*2]
test byte [esi + 0x41], 0x40
je 0x4dbe8a
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jne 0x4dbe70
mov eax, dword [esi + 0x68]
mov dword [esi + 0x7c], 0
cmp eax, 1
jne 0x4dbe3d
add dword [esi + 0x6c], 8
cmp eax, 2
jne 0x4dbe46
add dword [esi + 0x6c], 8
cmp eax, 3
jne 0x4dbe4f
add dword [esi + 0x6c], 4
cmp eax, 4
jne 0x4dbe58
add dword [esi + 0x6c], 2
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [esi + 0x5c]
jl 0x4dbe70
lea ecx, [eax + 1]
mov eax, 0x10
sar eax, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x6c]
add eax, ecx
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x7c]
jmp 0x4dbeb7
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x58]
cmp eax, ecx
jne 0x4dbea8
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], 0
inc eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x70]
add eax, ecx
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jg 0x4dbece
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], dl
mov ax, word [edi + 4]
test ax, ax
jne 0x4dbe0a
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x20]
lea eax, [edx + edx*2]
inc edx
mov dword [esp + 0x18], edx
lea eax, [ebp + eax*2]
mov byte [eax], bl
mov word [eax + 2], cx
mov ecx, dword [esi + 0x44]
mov eax, 1
shl eax, cl
cmp edx, eax
jne 0x4dbf08
inc ecx
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x44]
mov eax, 0xc
cmp ecx, eax
jbe 0x4dbf17
mov dword [esi + 0x44], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
jmp 0x4db8a7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
and ecx, 0xffff
xor eax, eax
cmp ecx, edx
mov dword [esp + 0x34], ebx
jl 0x4dbf6e
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*2]
mov word [ecx + 4], ax
mov cx, word [ecx + 2]
mov eax, ebx
mov dword [esp + 0x34], ecx
cmp cx, ax
jae 0x4dc22c
mov ebx, dword [esp + 0x34]
and ecx, 0xffff
cmp ecx, edx
jge 0x4dbf42
test byte [esi + 0x41], 0x40
je 0x4dbfea
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x58]
cmp edx, ecx
jne 0x4dbfc7
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x7c], 0
cmp ecx, 1
mov edi, 8
jne 0x4dbf95
add dword [esi + 0x6c], edi
cmp ecx, 2
jne 0x4dbf9d
add dword [esi + 0x6c], edi
cmp ecx, 3
jne 0x4dbfa6
add dword [esi + 0x6c], 4
cmp ecx, 4
jne 0x4dbfaf
add dword [esi + 0x6c], 2
mov edx, dword [esi + 0x6c]
cmp edx, dword [esi + 0x5c]
jl 0x4dbfcc
inc ecx
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
jmp 0x4dbfcc
mov edi, 8
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x7c]
imul ecx, dword [esi + 0x6c]
add ecx, edx
mov edx, dword [esi + 0xb0]
mov byte [edx + ecx], bl
mov edx, dword [esi + 0x7c]
inc edx
mov dword [esi + 0x7c], edx
jmp 0x4dc020
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x58]
cmp ecx, edx
jne 0x4dc008
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x7c], 0
inc ecx
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x7c]
imul ecx, dword [esi + 0x70]
add ecx, edx
inc edx
mov dword [esi + 0x7c], edx
mov edi, 8
cmp ecx, dword [esi + 0x9c]
jg 0x4dc031
mov edx, dword [esi + 0xb0]
mov byte [edx + ecx], bl
test ax, ax
je 0x4dc102
xor ecx, ecx
and eax, 0xffff
lea eax, [eax + eax*2]
mov bl, byte [ebp + eax*2]
lea edx, [ebp + eax*2]
test byte [esi + 0x41], 0x40
mov eax, dword [esi + 0x7c]
je 0x4dc0b4
cmp eax, dword [esi + 0x58]
jne 0x4dc09a
mov eax, dword [esi + 0x68]
mov dword [esi + 0x7c], ecx
cmp eax, 1
jne 0x4dc068
add dword [esi + 0x6c], edi
cmp eax, 2
jne 0x4dc070
add dword [esi + 0x6c], edi
cmp eax, 3
jne 0x4dc079
add dword [esi + 0x6c], 4
cmp eax, 4
jne 0x4dc082
add dword [esi + 0x6c], 2
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [esi + 0x5c]
jl 0x4dc09a
lea ecx, [eax + 1]
mov eax, 0x10
sar eax, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x6c]
add eax, ecx
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x7c]
jmp 0x4dc0d8
cmp eax, dword [esi + 0x58]
jne 0x4dc0c9
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], ecx
inc eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x70]
add eax, ecx
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jg 0x4dc0ef
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], bl
mov ax, word [edx + 4]
xor ecx, ecx
cmp ax, cx
jne 0x4dc03c
mov ebx, dword [esp + 0x34]
mov al, byte [esi + 0x41]
mov edx, dword [esi + 0x7c]
test al, 0x40
mov eax, dword [esi + 0x58]
je 0x4dc173
cmp edx, eax
jne 0x4dc159
mov eax, dword [esi + 0x68]
mov dword [esi + 0x7c], 0
cmp eax, 1
jne 0x4dc125
add dword [esi + 0x6c], edi
cmp eax, 2
jne 0x4dc12d
add dword [esi + 0x6c], edi
cmp eax, 3
jne 0x4dc136
add dword [esi + 0x6c], 4
cmp eax, 4
jne 0x4dc13f
add dword [esi + 0x6c], 2
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x5c]
cmp ecx, edx
jl 0x4dc159
lea ecx, [eax + 1]
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x7c]
imul eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xb0]
add eax, edx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x7c]
jmp 0x4dc19a
cmp edx, eax
jne 0x4dc18b
mov eax, dword [esi + 0x80]
mov dword [esi + 0x7c], 0
inc eax
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
imul eax, dword [esi + 0x70]
add eax, ecx
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jg 0x4dc1b1
mov ecx, dword [esi + 0xb0]
mov byte [ecx + eax], bl
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x20]
lea eax, [edx + edx*2]
inc edx
mov dword [esp + 0x18], edx
lea eax, [ebp + eax*2]
mov byte [eax], bl
mov word [eax + 2], cx
mov ecx, dword [esi + 0x44]
mov eax, 1
shl eax, cl
cmp edx, eax
jne 0x4dc1de
inc ecx
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x44]
mov eax, 0xc
cmp ecx, eax
jbe 0x4dbf17
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x44], eax
mov dword [esp + 0x20], ecx
jmp 0x4db8a7
mov edx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x24]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
cmp dword [esi + 0xec], 1
jne 0x4dc273
mov eax, dword [esi + 0x9c]
mov edx, dword [esp + 0x24]
add eax, 0x6428
xor edi, edi
mov dword [esi + 0xf4], eax
mov eax, edi
mov dword [esi + 0xf0], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xa8]
push 0
push ebx
push ecx
push 4
push ebx
push edx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ebp, dword [esi + 0xb8]
mov edx, dword [esi + 0x98]
inc ebp
inc edx
push ebx
mov edi, eax
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x98], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret