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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [ebp + 8]
fld dword [0x413314]
and dword [esp + 0x14], 0
push ebx
mov ebx, dword [eax]
push esi
push edi
mov dword [esp + 0x10], ecx
lea esi, [eax + 0xc]
push 5
pop ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x2c], edx
rep movsd dword es:[edi], dword [esi]
push 5
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
lea esi, [eax + 0xc]
pop ecx
lea edi, [esp + 0x64]
mov dword [esp + 0x1c], ebx
xor edx, edx
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
jle 0x48395b
lea ecx, [eax + 0x10]
fld dword [ecx]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x483953
fstp st(0)
mov dword [esp + 0x20], edx
fld dword [ecx]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
inc edx
add ecx, 0x14
cmp edx, ebx
jl 0x483938
mov eax, dword [esp + 0x20]
fld st(0)
mov dword [esp + 0x24], eax
call sub.msvcrt.dll__ftol2_sse
mov edi, eax
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fsub dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fldz
fcompp
fnstsw ax
test ah, 5
jp 0x483990
inc edi
mov ecx, dword [ebp + 0x10]
lea eax, [edi - 1]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 0x20]
call fcn.00437b42
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x20]
call fcn.00437b70
and dword [esp + 0x30], 0
lea ecx, [esp + 0x78]
and dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
push ecx
push 0x26200a
push 1
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
mov esi, eax
test esi, esi
je 0x4839f8
mov eax, dword [esp + 0x14]
mov dword [eax + 8], esi
jmp 0x4839fa
xor esi, esi
mov eax, dword [0x4a2c68]
lea ecx, [esp + 0x90]
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
push ecx
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x44]
mov eax, dword [0x4a2c24]
push 0x26200a
mov dword [esp + 0x54], eax
mov eax, dword [0x4a49e0]
push 2
push ecx
mov dword [esp + 0x24], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
mov dword [esp + 0x28], eax
test eax, eax
je 0x483a4d
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], eax
jmp 0x483a52
and dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
call fcn.0047fbbd
mov dword [esp + 0x14], eax
test esi, esi
jne 0x483ce8
cmp dword [esp + 0x28], esi
jne 0x483ccd
test ebx, ebx
jle 0x483ccd
mov edx, dword [esp + 0xc]
cmp edx, edi
jge 0x483b47
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
test ebx, ebx
jle 0x483b3f
lea esi, [eax - 1]
dec ebx
test esi, esi
jns 0x483a9f
mov esi, dword [ecx]
dec esi
cmp eax, 4
jge 0x483b3f
cmp esi, 4
jge 0x483b3f
push ecx
imul eax, esi, 0x14
lea edx, [esp + 0xac]
push edi
push edx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x1c], eax
lea edx, [eax + 0xc]
imul eax, dword [esp + 0x34], 0x14
add edx, ecx
add eax, 0xc
add ecx, eax
call fcn.00482c34
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
fld dword [ecx + eax + 0x10]
call sub.msvcrt.dll__ftol2_sse
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], edx
fld dword [eax + ecx + 0x10]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fsub dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x483b2e
mov eax, dword [esp + 0xc]
fcomp dword [eax + ecx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x483b31
jmp 0x483b30
fstp st(0)
dec edx
mov eax, esi
mov dword [esp + 0x24], eax
cmp edx, edi
jl 0x483a8c
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jge 0x483c18
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x20]
test ebx, ebx
jle 0x483c0c
lea eax, [edx + 1]
dec ebx
mov dword [esp + 0x18], eax
cmp eax, dword [esi]
jl 0x483b74
xor eax, eax
mov dword [esp + 0x18], eax
cmp edx, 4
jge 0x483c0c
cmp eax, 4
jge 0x483c0c
push ecx
push edi
lea ecx, [esp + 0xc4]
imul eax, eax, 0x14
push ecx
lea ecx, [esp + 0x70]
push ecx
imul ecx, dword [esp + 0x30], 0x14
lea edx, [esi + 0xc]
add edx, eax
mov dword [esp + 0x2c], eax
add ecx, 0xc
add ecx, esi
call fcn.00482c34
mov eax, dword [esp + 0x1c]
fld dword [eax + esi + 0x10]
call sub.msvcrt.dll__ftol2_sse
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x10], ecx
fld dword [edx + esi + 0x10]
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fsub dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x483bf9
fcomp dword [edx + esi + 0x10]
fnstsw ax
test ah, 0x41
jne 0x483bfc
jmp 0x483bfb
fstp st(0)
dec ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
cmp ecx, edi
jl 0x483b5a
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp edi, edx
jg 0x483cc5
mov ebx, dword [ebp + 0x10]
cmp edi, ecx
jg 0x483cc1
fld dword [esp + 0x50]
fld dword [esp + 0x64]
fcompp
fnstsw ax
test ah, 1
jne 0x483c60
test edi, edi
js 0x483c8e
push dword [esp + 0x14]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x70]
push ebx
push eax
lea eax, [esp + 0x64]
jmp 0x483c82
test edi, edi
js 0x483c8e
push dword [esp + 0x14]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
push ebx
push eax
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x40]
mov edx, edi
push eax
call fcn.0048316f
push ecx
lea edx, [esp + 0xac]
inc edi
lea ecx, [esp + 0x54]
call fcn.00482df2
push ecx
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x68]
call fcn.00482df2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
cmp edi, edx
jle 0x483c23
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jg 0x483a7d
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x78]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x483ce8
mov dword [esi + 8], eax
cmp dword [esp + 0x28], 0
jne 0x483d0d
mov esi, dword [0x4a49e0]
lea eax, [esp + 0x90]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x483d0d
mov dword [esi + 8], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc