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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00413f70
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
lea esi, [ebx + 0x50]
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00406060
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edx
call fcn.00414cd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00414d30
test al, al
jne 0x41f786
cmp dword [esp + 0x30], 0
jne 0x41f728
call fcn.0042d794
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp eax, dword [edx + 4]
jne 0x41f73a
call fcn.0042d794
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004083a0
mov edi, dword [eax + 0x1c]
add esp, 4
test edi, edi
je 0x41f75f
lea ecx, [edi + 0xc]
call fcn.00405a70
push edi
call fcn.0042ceee
add esp, 4
lea edi, [esp + 0x30]
call fcn.004225d0
mov edx, dword [esi + 4]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00414cd0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00414d30
test al, al
je 0x41f71c
mov ecx, esi
call fcn.00406fb0
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00421380
mov ecx, esi
call fcn.00406fb0
mov edx, dword [esi + 4]
mov dword [eax], edx
xor edi, edi
mov ecx, esi
mov dword [esi + 8], edi
call fcn.00414260
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, esi
call fcn.00413fc0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
mov dword [eax], edx
call fcn.00413f70
lea eax, [esp + 0x10]
lea esi, [ebx + 0x5c]
push eax
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.00406060
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], edx
call fcn.00414cd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00414d30
test al, al
jne 0x41f873
cmp dword [esp + 0x38], 0
jne 0x41f815
call fcn.0042d794
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp eax, dword [edx + 4]
jne 0x41f827
call fcn.0042d794
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004083a0
mov edi, dword [eax + 0x1c]
add esp, 4
test edi, edi
je 0x41f84c
lea ecx, [edi + 4]
call fcn.00405a70
push edi
call fcn.0042ceee
add esp, 4
lea edi, [esp + 0x38]
call fcn.004225d0
mov edx, dword [esi + 4]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00414cd0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00414d30
test al, al
je 0x41f809
mov ecx, esi
call fcn.00406fb0
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00421380
mov ecx, esi
call fcn.00406fb0
mov edx, dword [esi + 4]
mov dword [eax], edx
xor edi, edi
mov ecx, esi
mov dword [esi + 8], edi
call fcn.00414260
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, esi
call fcn.00413fc0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x40]
mov dword [eax], edx
call fcn.00413f70
lea eax, [esp + 0x10]
lea esi, [ebx + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.00406060
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edx
call fcn.00414cd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
call fcn.00414d30
test al, al
jne 0x41f960
cmp dword [esp + 0x40], 0
jne 0x41f902
call fcn.0042d794
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp eax, dword [edx + 4]
jne 0x41f914
call fcn.0042d794
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004083a0
mov edi, dword [eax + 0x1c]
add esp, 4
test edi, edi
je 0x41f939
lea ecx, [edi + 4]
call fcn.00405a70
push edi
call fcn.0042ceee
add esp, 4
lea edi, [esp + 0x40]
call fcn.004225d0
mov edx, dword [esi + 4]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00414cd0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00414d30
test al, al
je 0x41f8f6
mov ecx, esi
call fcn.00406fb0
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00421380
mov ecx, esi
call fcn.00406fb0
mov edx, dword [esi + 4]
mov dword [eax], edx
xor edi, edi
mov ecx, esi
mov dword [esi + 8], edi
call fcn.00414260
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, esi
call fcn.00413fc0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
mov dword [eax], edx
call fcn.0040d660
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x1c], edi
mov esi, dword [eax]
lea edi, [ebx + 0x74]
lea ecx, [esp + 0x10]
call fcn.0040d660
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov esi, dword [edi + 4]
lea ecx, [esp + 0x10]
call fcn.0040d660
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
je 0x41f9e0
cmp eax, edi
je 0x41f9e5
call fcn.0042d794
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x14]
je 0x41faad
cmp dword [esp + 0x18], 0
jne 0x41fa03
call fcn.0042d794
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp ecx, dword [edx + 4]
jne 0x41fa15
call fcn.0042d794
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x28]
test esi, esi
je 0x41fa41
lea ecx, [esi + 0x3c]
call fcn.00405a70
lea ecx, [esi + 0x20]
call fcn.00405a70
lea ecx, [esi + 4]
call fcn.00405a70
push esi
call fcn.0042ceee
mov ecx, dword [esp + 0x20]
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x41fa51
call fcn.0042d794
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x2d], 0
je 0x41fa61
call fcn.0042d794
jmp 0x41f9c0
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], 0
jne 0x41fa87
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x41fa7e
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x41fa74
mov dword [esp + 0x1c], ecx
jmp 0x41f9c0
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], 0
jne 0x41faa4
cmp ecx, dword [eax + 8]
jne 0x41faa4
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41fa90
mov dword [esp + 0x1c], eax
jmp 0x41f9c0
mov eax, dword [edi + 4]
mov ebx, dword [eax + 4]
cmp byte [ebx + 0x2d], 0
mov esi, ebx
jne 0x41fae6
jmp 0x41fac0
mov ecx, dword [esi + 8]
push ecx
mov ecx, edi
call fcn.00421260
mov esi, dword [esi]
lea ecx, [ebx + 0xc]
call fcn.00405a70
push ebx
call fcn.0042ceee
add esp, 4
cmp byte [esi + 0x2d], 0
mov ebx, esi
je 0x41fac0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [edi + 8], edi
call fcn.0040d660
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x84]
add edi, 0x80
mov dword [esp + 0x24], ebx
mov esi, dword [edx]
lea ecx, [esp + 0x10]
call fcn.0040d660
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
jmp 0x41fb30
mov esi, dword [edi + 4]
lea ecx, [esp + 0x10]
call fcn.0040d660
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
je 0x41fb50
cmp eax, edi
je 0x41fb55
call fcn.0042d794
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
je 0x41fc2d
cmp dword [esp + 0x20], ebx
jne 0x41fb72
call fcn.0042d794
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jne 0x41fb84
call fcn.0042d794
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x28]
cmp esi, ebx
je 0x41fbb8
lea ecx, [esi + 0x78]
call fcn.00405a70
lea ecx, [esi + 0x5c]
call fcn.00405a70
lea ecx, [esi + 0x40]
call fcn.00405a70
lea ecx, [esi + 4]
call fcn.00405a70
push esi
call fcn.0042ceee
mov ecx, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x41fbc7
call fcn.0042d794
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2d], 0
je 0x41fbd7
call fcn.0042d794
jmp 0x41fb30
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], 0
jne 0x41fc03
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x41fbfa
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x41fbf0
mov dword [esp + 0x24], ecx
jmp 0x41fb30
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], 0
jne 0x41fc24
lea esp, [esp]
cmp ecx, dword [eax + 8]
jne 0x41fc24
mov ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41fc10
mov dword [esp + 0x24], eax
jmp 0x41fb30
mov ecx, dword [edi + 4]
mov ebx, dword [ecx + 4]
cmp byte [ebx + 0x2d], 0
mov esi, ebx
jne 0x41fc66
jmp 0x41fc40
mov edx, dword [esi + 8]
push edx
mov ecx, edi
call fcn.00421260
mov esi, dword [esi]
lea ecx, [ebx + 0xc]
call fcn.00405a70
push ebx
call fcn.0042ceee
add esp, 4
cmp byte [esi + 0x2d], 0
mov ebx, esi
je 0x41fc40
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
lea ecx, [esp + 0x48]
mov dword [edi + 8], edi
call fcn.00413f70
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
add esi, 0x8c
push eax
mov ecx, esi
mov dword [esp + 0x50], ebx
call fcn.00406060
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], edx
call fcn.00414cd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00414d30
test al, al
jne 0x41fd78
nop
cmp dword [esp + 0x48], ebx
jne 0x41fcdb
call fcn.0042d794
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp eax, dword [edx + 4]
jne 0x41fced
call fcn.0042d794
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004083a0
mov edi, dword [eax + 0x1c]
add esp, 4
cmp edi, ebx
je 0x41fd4d
lea ecx, [edi + 0xf8]
call fcn.00405a70
lea ecx, [edi + 0xdc]
call fcn.00405a70
lea ecx, [edi + 0xc0]
call fcn.00405a70
lea ecx, [edi + 0xa4]
call fcn.00405a70
lea ecx, [edi + 0x70]
call fcn.00405a70
lea ecx, [edi + 0x24]
call fcn.00405a70
mov ecx, edi
call fcn.00405a70
push edi
call fcn.0042ceee
add esp, 4
lea edi, [esp + 0x48]
call fcn.004225d0
mov edx, dword [esi + 4]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00414cd0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00414d30
test al, al
je 0x41fcd0
mov ecx, esi
call fcn.00406fb0
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00421380
mov ecx, esi
call fcn.00406fb0
mov edx, dword [esi + 4]
mov dword [eax], edx
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.00414260
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, esi
call fcn.00413fc0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x28]
mov dword [eax], edx
call fcn.0040d660
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x40]
mov esi, dword [eax]
add ebx, 0x3c
lea ecx, [esp + 0x10]
call fcn.0040d660
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
lea esp, [esp]
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
call fcn.0040d660
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
je 0x41fe02
cmp eax, ebx
je 0x41fe07
call fcn.0042d794
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
je 0x41feed
cmp dword [esp + 0x28], edi
jne 0x41fe24
call fcn.0042d794
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edx + 4]
jne 0x41fe36
call fcn.0042d794
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x28]
cmp esi, edi
je 0x41fe7d
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x41fe4e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x2c], edi
mov ecx, dword [esi]
cmp ecx, edi
je 0x41fe5e
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi], edi
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x41fe70
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 4], edi
push esi
call fcn.0042ceee
mov ecx, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0x28], edi
jne 0x41fe8c
call fcn.0042d794
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x2d], 0
je 0x41fe9c
call fcn.0042d794
jmp 0x41fde0
mov eax, dword [ecx + 8]
cmp byte [eax + 0x2d], 0
jne 0x41fec3
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x41feba
nop
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x41feb0
mov dword [esp + 0x2c], ecx
jmp 0x41fde0
mov eax, dword [ecx + 4]
cmp byte [eax + 0x2d], 0
jne 0x41fee4
lea esp, [esp]
cmp ecx, dword [eax + 8]
jne 0x41fee4
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41fed0
mov dword [esp + 0x2c], eax
jmp 0x41fde0
mov eax, dword [ebx + 4]
mov edi, dword [eax + 4]
cmp byte [edi + 0x2d], 0
mov esi, edi
jne 0x41ff26
jmp 0x41ff00
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebx
call fcn.00421260
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00405a70
push edi
call fcn.0042ceee
add esp, 4
cmp byte [esi + 0x2d], 0
mov edi, esi
je 0x41ff00
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], 0
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov esi, dword [edi + 0x38]
test esi, esi
je 0x41fff5
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x41ff98
mov edi, dword [ebx + 0x28]
test edi, edi
je 0x41ff81
mov eax, dword [ebx + 0x2c]
cmp edi, eax
mov dword [esp + 0x10], eax
je 0x41ff75
mov ecx, edi
call fcn.00405a70
add edi, 0x2c
cmp edi, dword [esp + 0x10]
jne 0x41ff65
mov edx, dword [ebx + 0x28]
push edx
call fcn.0042ceee
add esp, 4
xor edi, edi
push ebx
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
call fcn.0042ceee
add esp, 4
mov dword [esi + 0x10], edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x41ffac
cmp dword [esi], eax
jne 0x41ffa8
cmp dword [esi + 4], eax
je 0x41ffe0
test eax, eax
je 0x41ffba
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41ffd1
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x41ffe0
push eax
call edi
mov dword [esi], 0
push esi
call fcn.0042ceee
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x38], 0
mov edi, eax
mov esi, dword [edi + 0x18]
test esi, esi
je 0x420015
mov ecx, dword [esi + 0x10]
push ecx
call sub.gdiplus.dll_GdiplusShutdown
push esi
call fcn.0042ceee
add esp, 4
mov dword [edi + 0x18], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4