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

Disassembly:
push 0xffffffffffffffff
push 0x4bb199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.0040fc00
mov edx, dword [0x4f5b3c]
xor ebp, ebp
mov dword [esp + 0x68], ebp
mov dword [esi + 0xa0], edx
mov eax, dword [0x4f5b3c]
mov dword [esi + 0xa4], eax
mov ecx, dword [0x4f5b3c]
lea edi, [esi + 0xa8]
mov dword [edi], ecx
lea ecx, [esi + 0xac]
push 0xa
mov byte [esp + 0x6c], 3
call fcn.004a8872
mov dword [esi], 0x4cb134
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push 0xa
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 8
call fcn.004a7f83
mov dword [esp + 0x34], 0x4ca7ac
push ecx
mov ecx, dword [esp + 0x78]
xor edx, edx
mov eax, esp
mov bl, 9
mov word [esp + 0x75], dx
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x70], bl
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 1
mov byte [esp + 0x78], 0
mov byte [esp + 0x7b], dl
call fcn.004a8160
lea ecx, [esp + 0x38]
call fcn.0040cf60
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00438990
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0xa
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.004a9c1f
lea edx, [esi + 0x64]
push 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.caption
call fcn.004a9c8d
lea ecx, [esp + 0x44]
call fcn.00436ed0
lea edi, [esi + 0x8c]
push 1
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.bmpfile
call fcn.004a9c8d
lea ecx, [esp + 0x44]
call fcn.00436ed0
test eax, eax
je 0x413f94
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.004354c0
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0xb
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.004a9c1f
push edi
lea ecx, [esp + 0x20]
push 0x4fef18
push ecx
call fcn.004a9e02
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [esp + 0x6c], 0xc
call fcn.004a9d5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.004a9c1f
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x414208
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x18]
push eax
call fcn.00410c00
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x7c]
call fcn.0040cea0
mov eax, dword [esp + 0x78]
cmp dword [eax - 8], 2
jle 0x4140ef
movsx ecx, byte [eax]
push ecx
call fcn.0047537b
add esp, 4
test eax, eax
je 0x4140ef
mov edx, dword [esp + 0x78]
movsx eax, byte [edx + 1]
push eax
call fcn.0047537b
add esp, 4
test eax, eax
je 0x4140ef
push 0x5b
lea ecx, [esp + 0x7c]
call fcn.004aa09a
test eax, eax
jle 0x4140ef
push 0x5d
lea ecx, [esp + 0x7c]
call fcn.004aa09a
test eax, eax
jle 0x4140ef
mov ecx, dword [esp + 0x10]
inc ecx
test ebp, ebp
mov dword [esp + 0x10], ecx
je 0x414045
push ebp
lea ecx, [esi + 0xac]
call fcn.004a87ed
push 0xd0
call fcn.004aa1e0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x68], 0xd
je 0x41406a
mov ecx, eax
call fcn.0040fa20
mov edi, eax
jmp 0x41406c
xor edi, edi
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], bl
mov ebp, edi
mov cl, byte [eax]
mov byte [esp + 0x70], cl
mov al, byte [eax + 1]
lea ecx, [esp + 0x70]
mov byte [esp + 0x71], al
push ecx
mov ecx, edi
call fcn.004a9d5c
push 0x4ef09c
lea ecx, [esp + 0x7c]
call fcn.00438770
cmp eax, 0xffffffff
je 0x4140a9
mov dword [edi + 4], 1
push 0x5d
lea ecx, [esp + 0x7c]
call fcn.004aa09a
inc eax
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.004a70e4
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0x6c], 0xe
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.004a9c1f
mov dword [esp + 0x14], 1
jmp 0x4141ec
cmp dword [esp + 0x10], 0xffffffff
jne 0x414142
mov eax, dword [esi + 0x6c]
lea edi, [esi + 0x6c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x414114
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.004a9d0c
jmp 0x4141d9
lea edx, [esp + 0x78]
lea eax, [esp + 0x20]
push edx
push 0x4eef44
push eax
call fcn.004a9edc
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0xf
call fcn.004a9feb
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x20]
jmp 0x4141d4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414190
mov ecx, dword [esi + 0x70]
lea edi, [esi + 0x70]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414165
lea edx, [esp + 0x78]
mov ecx, edi
push edx
call fcn.004a9d0c
jmp 0x4141d9
lea eax, [esp + 0x78]
lea ecx, [esp + 0x24]
push eax
push 0x4eef44
push ecx
call fcn.004a9edc
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x10
call fcn.004a9feb
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x24]
jmp 0x4141d4
mov edx, dword [ebp + 0x14]
lea edi, [ebp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4141ab
lea eax, [esp + 0x78]
mov ecx, edi
push eax
call fcn.004a9d0c
jmp 0x4141d9
lea ecx, [esp + 0x78]
lea edx, [esp + 0x28]
push ecx
push 0x4eef44
push edx
call fcn.004a9edc
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x11
call fcn.004a9feb
mov byte [esp + 0x68], bl
lea ecx, [esp + 0x28]
call fcn.004a9c1f
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4141ec
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x413fa7
test ebp, ebp
je 0x414208
push ebp
lea ecx, [esi + 0xac]
call fcn.004a87ed
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x14
call fcn.004a7ff7
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0x13
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0x12
call fcn.004a9c1f
lea ecx, [esp + 0x34]
lea edx, [esp + 0x38]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x68], 5
and ecx, edx
call fcn.004a9c1f
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 4
call fcn.004a9c1f
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0xc