Function at 0x40bda0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x447fba
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x458ad0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458ad0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x148]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0x144], 1
call fcn.0040d410
mov byte [esp + 0x140], 2
mov ecx, dword [esp + 0x150]
mov ebp, 0x10
cmp dword [esp + 0x164], ebp
jae 0x40be28
lea ecx, [esp + 0x150]
lea edx, [esp + 0xc4]
push edx
call fcn.004075b0
add esp, 4
mov byte [esp + 0x140], 3
cmp dword [eax + 0x18], ebp
jb 0x40be4a
mov edi, dword [eax + 4]
jmp 0x40be4d
lea edi, [eax + 4]
mov eax, dword [0x45cfc0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44ec88
push eax
call esi
push 0x8000100
push edi
push ebx
call eax
add esp, 0xc
mov byte [esp + 0x140], 2
mov edi, eax
cmp dword [esp + 0xdc], ebp
jb 0x40be8f
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0041e1fe
add esp, 4
mov edx, dword [0x45cfc0]
push 0x44f264
push edx
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call esi
push ebx
push 2
push edi
push ebx
call eax
add esp, 0x10
mov ebp, eax
mov eax, dword [0x45cfc0]
push 0x44eb2c
push eax
call esi
push edi
call eax
mov ecx, dword [0x45cfc0]
add esp, 4
push 0x44eab8
push ecx
call esi
push ebp
push ebx
call eax
mov edx, dword [0x45cfc0]
add esp, 8
push 0x44ead4
push edx
mov edi, eax
call esi
push edi
call eax
add esp, 4
cmp al, bl
jne 0x40bf67
mov eax, dword [0x45cfc0]
push 0x44eb2c
push eax
call esi
push edi
call eax
mov esi, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0xa4]
push ecx
push esi
call fcn.0040ce50
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0x1c], 1
mov byte [esp + 0x144], 1
call fcn.0040c5b0
cmp dword [esp + 0x164], 0x10
jb 0x40bf60
mov eax, dword [esp + 0x150]
push eax
call fcn.0041e1fe
add esp, 4
mov eax, esi
jmp 0x40c57a
mov ecx, dword [0x45cfc0]
push 0x44eca4
push ecx
call esi
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0xa4]
push ecx
push 2
push ebx
push edi
push ebx
call eax
mov edx, dword [0x45cfc0]
add esp, 0x18
push 0x44eb2c
push edx
mov ebp, eax
call esi
push edi
call eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x12
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CFBundleIdentifier
mov byte [ecx + 4], bl
call fcn.004051d0
mov edx, ebp
lea ecx, [esp + 0x134]
call fcn.00410670
mov byte [esp + 0x140], 4
push 5
push str.AppId
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.004051d0
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x14c], 5
call fcn.0040d070
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x144], 6
call fcn.0040f840
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xa8]
push eax
lea ebx, [esp + 0x98]
mov byte [esp + 0x148], 7
call fcn.0040cf00
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x40c072
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041e1fe
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], edi
jb 0x40c098
mov edx, dword [esp + 0x24]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x8c], edi
jb 0x40c0ba
mov eax, dword [esp + 0x78]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], edi
jb 0x40c0df
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041e1fe
add esp, 4
mov byte [esp + 0x140], 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xdc], edi
jb 0x40c10c
mov edx, dword [esp + 0xc8]
push edx
call fcn.0041e1fe
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xc
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CFBundleName
mov byte [ecx + 4], bl
call fcn.004051d0
mov edx, ebp
lea ecx, [esp + 0x118]
call fcn.00410670
mov ecx, 0x44e187
lea edi, [esp + 0xfc]
mov byte [esp + 0x140], 8
call fcn.00406d80
test al, al
je 0x40c19b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x13
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CFBundleDisplayName
mov byte [ecx + 4], bl
call fcn.004051d0
mov edx, ebp
lea ecx, [esp + 0xe0]
call fcn.00410670
cmp dword [esp + 0xdc], 0x10
jb 0x40c19b
mov eax, dword [esp + 0xc8]
push eax
call fcn.0041e1fe
add esp, 4
push 7
push str.AppName
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.004051d0
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x14c], 9
call fcn.0040d070
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x144], 0xa
call fcn.0040f840
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xa8]
push eax
lea ebx, [esp + 0x98]
mov byte [esp + 0x148], 0xb
call fcn.0040cf00
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x40c232
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041e1fe
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], edi
jb 0x40c258
mov edx, dword [esp + 0x24]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x8c], edi
jb 0x40c27a
mov eax, dword [esp + 0x78]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], edi
jb 0x40c29f
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041e1fe
add esp, 4
mov byte [esp + 0x140], 8
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xdc], edi
jb 0x40c2cc
mov edx, dword [esp + 0xc8]
push edx
call fcn.0041e1fe
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CFBundleIconFile
mov byte [ecx + 4], bl
call fcn.004051d0
mov edx, ebp
lea ecx, [esp + 0xfc]
call fcn.00410670
mov ecx, 0x44e187
lea edi, [esp + 0xe0]
mov byte [esp + 0x140], 0xc
call fcn.00406d80
test al, al
je 0x40c375
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x11
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CFBundleIconFiles
mov byte [ecx + 4], bl
call fcn.004051d0
mov edx, ebp
lea ecx, [esp + 0xe0]
call fcn.00410670
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x14c], 0xd
call fcn.00403f10
mov byte [esp + 0x140], 0xc
cmp dword [esp + 0xdc], 0x10
jb 0x40c375
mov eax, dword [esp + 0xc8]
push eax
call fcn.0041e1fe
add esp, 4
push 7
push str.AppLogo
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.004051d0
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x14c], 0xe
call fcn.0040d070
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
mov byte [esp + 0x144], 0xf
call fcn.0040f840
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xa8]
push eax
lea ebx, [esp + 0x98]
mov byte [esp + 0x148], 0x10
call fcn.0040cf00
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x40c40c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041e1fe
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x38], esi
jb 0x40c432
mov edx, dword [esp + 0x24]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x8c], esi
jb 0x40c454
mov eax, dword [esp + 0x78]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], esi
jb 0x40c479
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041e1fe
add esp, 4
mov byte [esp + 0x140], 0xc
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xdc], esi
jb 0x40c4a6
mov edx, dword [esp + 0xc8]
push edx
call fcn.0041e1fe
add esp, 4
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.0040ce50
mov dword [esp + 0x18], 1
cmp dword [esp + 0xf8], esi
jb 0x40c4d9
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x114], esi
jb 0x40c507
mov edx, dword [esp + 0x100]
push edx
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
cmp dword [esp + 0x130], esi
jb 0x40c535
mov eax, dword [esp + 0x11c]
push eax
call fcn.0041e1fe
add esp, 4
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
mov byte [esp + 0x144], 1
call fcn.0040c5b0
cmp dword [esp + 0x164], esi
jb 0x40c578
mov edx, dword [esp + 0x150]
push edx
call fcn.0041e1fe
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00428e93
add esp, 0x130
ret 0x20