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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d088
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0041d800
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d800
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
call fcn.0046f560
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x413c25
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041e800
mov eax, dword [ebp - 0x1c]
jmp 0x413f88
lea edx, [ebp + 8]
push edx
push 0x5dbd50
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413c5e
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.subwidth
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413c97
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.left
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413cd0
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x20], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push 0x5dbdc0
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413d09
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.margin_left
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413d42
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.margin_right
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413d7b
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x2c], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.margin_top
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413db4
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x30], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.margin_bottom
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413ded
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x34], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.flip
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413e26
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x3c], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.fliptype
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413e5f
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x40], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.middle_tile
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413e98
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x38], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.wantimgwidth
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413ed1
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x74], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.highquality
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413f07
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x44], eax
mov dword [ebp - 0x10], 0
jmp 0x413f64
lea edx, [ebp + 8]
push edx
push str.scale
call fcn.0041d7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x413f3d
lea ecx, [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x78], eax
mov dword [ebp - 0x10], 1
jmp 0x413f64
mov dword [ebp - 0x20], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041e800
mov eax, dword [ebp - 0x20]
jmp 0x413f88
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041e800
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc