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

Disassembly:
sub esp, 0xec
mov eax, dword [0x568008]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov dword [esp + 0xd8], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], eax
push ecx
push 0
push 0xe200b
push 0
push 0x80
push eax
mov dword [esp + 0xe4], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x88], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov esi, dword [esp + 0x70]
push 8
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], esi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
mov dword [esp + 0x58], edi
test edi, edi
je 0x4de233
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0
push eax
xorps xmm0, xmm0
push esi
movq qword [edi], xmm0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x70]
mov dword [edi], eax
jmp 0x4de23b
mov dword [esp + 0x58], 0
mov dh, 0x58
mov byte [esp + 0x1b], 0
mov cl, 0x12
mov byte [esp + 0x14], dh
mov dl, 0x1d
mov byte [esp + 0x1b], 0
mov bl, dl
mov dword [esp + 0x88], 0
mov ah, cl
mov dword [esp + 0x8c], 0
xor cl, dh
mov al, 0xe
mov ch, 0x2f
mov byte [esp + 0x16], cl
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x17], dl
xor ah, dh
mov byte [esp + 0x15], al
xor ch, dh
mov byte [esp + 0x18], bl
mov byte [esp + 0x1a], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x15]
mov byte [esp + 0x19], ah
movups xmmword [esp + 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de2a0
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.004a2240
mov dh, 0x30
mov byte [esp + 0x1b], 0
mov cl, 0x54
mov byte [esp + 0x14], dh
mov dl, 0x7b
mov byte [esp + 0x1b], 0
xor cl, dh
mov al, 0x73
mov bl, 0x66
mov byte [esp + 0x16], cl
mov ah, 0x55
mov ch, 0x5e
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x17], dl
xor ah, dh
mov byte [esp + 0x15], al
xor ch, dh
mov byte [esp + 0x18], bl
mov byte [esp + 0x1a], ch
lea ecx, [esp + 0x15]
mov byte [esp + 0x19], ah
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de302
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.004a1de0
mov ch, 0xd
mov byte [esp + 0x26], 0
mov dl, 0x65
mov byte [esp + 0x20], ch
xor dl, ch
mov byte [esp + 0x26], 0
mov cl, 0x43
mov byte [esp + 0x23], dl
mov al, 0x6b
lea edx, [esp + 0x21]
mov bl, 0x4a
xor al, ch
xor cl, ch
mov byte [esp + 0x21], al
xor bl, ch
mov byte [esp + 0x22], cl
mov ah, 0x5b
mov byte [esp + 0x24], bl
xor ah, ch
lea ecx, [edx + 1]
mov byte [esp + 0x25], ah
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4de360
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x21]
mov esi, dword [esp + 0x78]
sub edx, ecx
push edx
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x7c]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.004a23e0
add esp, 8
test al, al
je 0x4de3f0
mov dh, 0xb
mov byte [esp + 0x2f], 0
mov al, 0x49
mov byte [esp + 0x28], dh
mov ah, 0x4e
mov byte [esp + 0x2f], 0
xor al, dh
xor ah, dh
mov cl, 0x6a
mov byte [esp + 0x29], al
mov ch, 0x52
mov byte [esp + 0x2d], ah
xor cl, dh
lea eax, [esp + 0x29]
xor ch, dh
mov byte [esp + 0x2a], cl
mov dl, 0x48
mov byte [esp + 0x2e], ch
mov bl, 0x67
lea ecx, [esp + 0x78]
xor dl, dh
xor bl, dh
push eax
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], bl
call fcn.004a1aa0
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x78]
cmp edi, 0x10
jb 0x4de420
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4de416
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ecx
push esi
call fcn.004a60c5
add esp, 8
mov cl, 0x68
mov dword [esp + 0xb0], 0
mov al, 0x2e
mov byte [esp + 0x1c], cl
xor al, cl
mov byte [esp + 0x1e], 0
sub esp, 0x18
mov byte [esp + 0x35], al
mov edx, esp
mov byte [esp + 0x36], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x35]
movq qword [esp + 0xc0], xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de470
sub ecx, esi
lea eax, [esp + 0x35]
push ecx
push eax
mov ecx, edx
call fcn.004a2240
sub esp, 0x18
lea eax, [esp + 0x130]
mov ecx, esp
push eax
call fcn.004a37c0
lea ecx, [esp + 0xd8]
call fcn.004cf920
mov ecx, dword [esp + 0xdc]
xor ebp, ebp
mov edx, dword [esp + 0xd8]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x4c], ebp
sar eax, 3
xor ebx, ebx
imul eax, eax, 0xaaaaaaab
add esp, 0x30
mov byte [esp + 0x13], 1
mov dword [esp + 0x60], ebx
test eax, eax
je 0x4decd9
xor esi, esi
mov dword [esp + 0x64], esi
sub ecx, edx
sar ecx, 3
imul eax, ecx, 0xaaaaaaab
cmp eax, ebx
jbe 0x4dedbd
add esi, edx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 0x10
mov edi, eax
jb 0x4de506
mov esi, dword [esi]
push 0xa
lea eax, [esp + 0x78]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [esp + 0x5c], eax
cmp esi, dword [esp + 0x74]
je 0x4ded88
cmp dword [edi], 0x22
je 0x4ded7d
mov ch, 0x63
mov byte [esp + 0x4e], 0
mov cl, 0x34
mov byte [esp + 0x48], ch
mov dl, 0x51
mov byte [esp + 0x4e], 0
xor cl, ch
mov dword [esp + 0xc4], 0
xor dl, ch
mov byte [esp + 0x4a], cl
mov al, 0x52
mov byte [esp + 0x4b], dl
mov bl, 0x54
mov dword [esp + 0xc8], 0
xor al, ch
xor bl, ch
mov ah, 0x2f
mov byte [esp + 0x49], al
xor ah, ch
mov byte [esp + 0x4c], bl
xorps xmm0, xmm0
mov byte [esp + 0x4d], ah
lea ecx, [esp + 0x49]
movups xmmword [esp + 0xb4], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de594
sub ecx, edx
lea eax, [esp + 0x49]
push ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.004a2240
mov dh, 0x66
mov byte [esp + 0x57], 0
mov cl, 0x2e
mov byte [esp + 0x50], dh
mov dl, 0x22
mov byte [esp + 0x57], 0
xor cl, dh
mov dword [esp + 0xa0], 0
mov al, 0x11
mov byte [esp + 0x52], cl
mov bl, 0x25
mov dword [esp + 0xa4], 0
mov ah, 0x37
mov ch, 0xb
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x53], dl
xor ah, dh
mov byte [esp + 0x51], al
xor ch, dh
mov byte [esp + 0x54], bl
mov byte [esp + 0x56], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x51]
mov byte [esp + 0x55], ah
movups xmmword [esp + 0x90], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de617
sub ecx, edx
lea eax, [esp + 0x51]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.004a2240
mov ah, 0xa
mov byte [esp + 0x3d], 0
mov dl, 0x3d
mov byte [esp + 0x38], ah
xor dl, ah
mov byte [esp + 0x3d], 0
mov cl, 0x47
mov byte [esp + 0x3b], dl
mov al, 0x3f
lea edx, [esp + 0x39]
xor cl, ah
mov bl, 0x5b
xor al, ah
mov byte [esp + 0x3a], cl
xor bl, ah
mov byte [esp + 0x39], al
mov byte [esp + 0x3c], bl
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4de670
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x39]
mov ebx, dword [esp + 0x90]
sub edx, ecx
push edx
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x94]
cmp esi, 0x10
mov dword [esp + 0x70], esi
push eax
cmovae ecx, ebx
mov dword [esp + 0x78], ebx
call fcn.004a23e0
add esp, 8
test al, al
je 0x4de7da
mov ch, 0x15
mov byte [esp + 0x36], 0
mov bl, 0x58
mov byte [esp + 0x30], ch
mov cl, 0x4c
mov byte [esp + 0x36], 0
mov al, 0x7f
lea edi, [esp + 0x31]
mov dl, 0x5d
mov ah, bl
xor al, ch
xor cl, ch
xor dl, ch
mov byte [esp + 0x32], cl
xor bl, ch
mov byte [esp + 0x31], al
xor ah, ch
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], bl
lea ecx, [edi + 1]
mov byte [esp + 0x35], ah
mov al, byte [edi]
inc edi
test al, al
jne 0x4de6f8
sub edi, ecx
cmp edi, esi
ja 0x4de73c
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x31]
push edi
lea esi, [esp + 0x94]
cmovae esi, dword [esp + 0x74]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x90]
jmp 0x4de7da
cmp edi, 0x7fffffff
ja 0x4dedb8
mov ebx, esi
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4de75e
mov esi, 0x7fffffff
jmp 0x4de77c
mov ecx, ebx
mov eax, 0x7fffffff
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x4de774
mov esi, 0x7fffffff
jmp 0x4de77c
lea eax, [ecx + ebx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.004a2390
push edi
lea ecx, [esp + 0x35]
mov dword [esp + 0x70], eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x78]
add esp, 0xc
mov byte [eax + edi], 0
cmp ebx, 0x10
jb 0x4de7d8
mov ecx, dword [esp + 0x70]
inc ebx
mov eax, ecx
cmp ebx, 0x1000
jb 0x4de7c8
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ebx
push ecx
call fcn.004a60c5
mov ebx, dword [esp + 0x74]
add esp, 8
jmp 0x4de7da
mov ebx, eax
cmp esi, 0x10
jb 0x4de808
inc esi
mov eax, ebx
cmp esi, 0x1000
jb 0x4de7fe
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push esi
push ebx
call fcn.004a60c5
add esp, 8
mov ecx, dword [esp + 0xc8]
cmp ecx, 0x10
jb 0x4de844
mov edx, dword [esp + 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4de83a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ecx
push edx
call fcn.004a60c5
add esp, 8
xor edi, edi
mov dword [esp + 0x70], edi
cmp dword [esp + 0x5c], edi
jle 0x4dec9d
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0
push eax
je 0x4de86f
push 0xffff0000
jmp 0x4de874
push 0xff00ff00
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
push 1
push 1
push dword [esp + 0x24]
push ebp
push esi
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
test eax, eax
je 0x4de89b
mov dword [ebx + 4], eax
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
inc ebp
cmp ebp, dword [esp + 0x68]
jne 0x4dec8e
mov dh, 0x52
mov byte [esp + 0x2f], 0
mov cl, 0x63
mov byte [esp + 0x28], dh
mov dl, 0x24
mov byte [esp + 0x2f], 0
xor cl, dh
mov dword [esp + 0xec], 0
mov al, 3
mov byte [esp + 0x2a], cl
mov bl, 0x23
mov dword [esp + 0xf0], 0
mov ah, 0x3e
mov ch, 0x1d
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x2b], dl
xor ah, dh
mov byte [esp + 0x29], al
xor ch, dh
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2e], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x29]
mov byte [esp + 0x2d], ah
movups xmmword [esp + 0xdc], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de915
sub ecx, edx
lea eax, [esp + 0x29]
push ecx
push eax
lea ecx, [esp + 0xe4]
call fcn.004a2240
mov ch, 0x3c
mov byte [esp + 0x1a], 0
mov cl, 0x49
mov byte [esp + 0x14], ch
mov dl, 0x6b
mov byte [esp + 0x1a], 0
xor cl, ch
mov dword [esp + 0xc4], 0
xor dl, ch
mov byte [esp + 0x16], cl
mov al, 0xe
mov byte [esp + 0x17], dl
mov bl, 0xa
mov dword [esp + 0xc8], 0
xor al, ch
xor bl, ch
mov ah, 0x66
mov byte [esp + 0x15], al
xor ah, ch
mov byte [esp + 0x18], bl
xorps xmm0, xmm0
mov byte [esp + 0x19], ah
lea ecx, [esp + 0x15]
movups xmmword [esp + 0xb4], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4de990
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.004a2240
mov bh, 0x42
mov byte [esp + 0x80], 0
mov al, 0x31
mov byte [esp + 0x78], bh
mov cl, 0xc
mov byte [esp + 0x80], 0
mov dl, 0x2b
mov bl, al
mov ch, 0x74
mov ah, 7
mov dh, 0x15
xor cl, bh
xor dl, bh
mov byte [esp + 0x7a], cl
xor ch, bh
mov byte [esp + 0x7b], dl
xor al, bh
mov byte [esp + 0x7e], ch
xor bl, bh
mov byte [esp + 0x79], al
xor ah, bh
mov byte [esp + 0x7c], bl
xor dh, bh
mov byte [esp + 0x7d], ah
mov byte [esp + 0x7f], dh
lea edx, [esp + 0x79]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dea00
mov ebx, dword [esp + 0xb4]
lea eax, [esp + 0x79]
sub edx, ecx
mov dword [esp + 0x6c], ebx
cmp dword [esp + 0xc8], 0x10
lea ecx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0xc8]
cmovae ecx, ebx
push eax
call fcn.004a23e0
add esp, 8
test al, al
je 0x4dec15
mov ah, 0xd
mov byte [esp + 0x25], 0
mov cl, 0x47
mov byte [esp + 0x20], ah
xor cl, ah
mov byte [esp + 0x25], 0
mov dl, 0x68
mov byte [esp + 0x22], cl
mov al, 0x7e
mov dword [esp + 0xa0], 0
xor dl, ah
mov dword [esp + 0xa4], 0
mov bl, 0x39
mov byte [esp + 0x23], dl
xor al, ah
lea ecx, [esp + 0x21]
xor bl, ah
mov byte [esp + 0x21], al
xorps xmm0, xmm0
mov byte [esp + 0x24], bl
movups xmmword [esp + 0x90], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4deaa0
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.004a2240
mov dh, 0x19
mov byte [esp + 0x47], 0
mov al, 0x63
mov byte [esp + 0x40], dh
mov cl, al
mov byte [esp + 0x47], 0
mov dl, 0x5d
lea edi, [esp + 0x41]
mov bl, 0x50
mov ah, 0x6e
mov ch, 0x28
xor cl, dh
xor al, dh
mov byte [esp + 0x42], cl
xor dl, dh
mov byte [esp + 0x41], al
xor bl, dh
mov byte [esp + 0x43], dl
xor ah, dh
mov byte [esp + 0x44], bl
xor ch, dh
mov byte [esp + 0x45], ah
mov byte [esp + 0x46], ch
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4deb02
mov ebp, dword [esp + 0xa4]
sub edi, ecx
cmp edi, ebp
ja 0x4deb4e
cmp ebp, 0x10
lea eax, [esp + 0x41]
push edi
lea esi, [esp + 0x94]
cmovae esi, dword [esp + 0x94]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x90]
jmp 0x4debdf
cmp edi, 0x7fffffff
ja 0x4dedb8
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4deb6e
mov esi, 0x7fffffff
jmp 0x4deb8c
mov ecx, ebp
mov eax, 0x7fffffff
shr ecx, 1
sub eax, ecx
cmp ebp, eax
jbe 0x4deb84
mov esi, 0x7fffffff
jmp 0x4deb8c
lea eax, [ecx + ebp]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
call fcn.004a2390
mov ebx, eax
lea eax, [esp + 0x41]
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
cmp ebp, 0x10
jb 0x4debdf
mov ecx, dword [esp + 0x90]
inc ebp
mov eax, ecx
cmp ebp, 0x1000
jb 0x4debd5
mov ecx, dword [eax - 4]
add ebp, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ebp
push ecx
call fcn.004a60c5
add esp, 8
cmp esi, 0x10
jb 0x4dec0d
inc esi
mov eax, ebx
cmp esi, 0x1000
jb 0x4dec03
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push esi
push ebx
call fcn.004a60c5
add esp, 8
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0xc8]
cmp eax, 0x10
jb 0x4dec4c
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4dec42
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ecx
push ebx
call fcn.004a60c5
add esp, 8
mov ecx, dword [esp + 0xf0]
cmp ecx, 0x10
jb 0x4dec88
mov edx, dword [esp + 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dec7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ded77
push ecx
push edx
call fcn.004a60c5
add esp, 8
inc dword [esp + 0x1c]
xor ebp, ebp
inc edi
mov dword [esp + 0x70], edi
cmp edi, dword [esp + 0x5c]
jl 0x4de854
mov ecx, dword [esp + 0xac]
mov eax, ecx
mov edx, dword [esp + 0xa8]
sub eax, edx
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
inc ebx
xor byte [esp + 0x13], 1
add esi, 0x18
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
cmp ebx, eax
jb 0x4de4e1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 0x80
call fcn.004a51e0
mov ebx, dword [esp + 0x58]
mov esi, eax
test ebx, ebx
je 0x4ded30
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push ebx
call dword [sym.imp.gdiplus.dll_GdipFree]
lea ecx, [esp + 0xa8]
call fcn.004a29d0
push dword [esp + 0xd0]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov ecx, dword [esp + 0x114]
cmp ecx, 0x10
jb 0x4ded9d
mov edx, dword [esp + 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ded93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ded93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.stoi_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoi_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
push ecx
push edx
call fcn.004a60c5
add esp, 8
mov ecx, dword [esp + 0xf4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a6087
add esp, 0xec
ret
call fcn.004a18f0
call fcn.004a38f0
int3