Function at 0x40cde4
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push 0x284
mov eax, 0x420f97
call fcn.0041eefb
mov eax, dword [ebp + 8]
and dword [ebp - 0x274], 0
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.Before_CMD4:_desc_s__account_s
push 0x426474
call fcn.00414b27
add esp, 0x10
lea esi, [ebp - 0x264]
call fcn.00404bb4
lea eax, [ebp - 0x244]
push eax
mov ecx, str.Version
mov byte [ebp - 4], 3
call fcn.0040a29f
push 3
lea eax, [ebp - 0x248]
push 0x42972c
push eax
mov byte [ebp - 4], 4
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 5
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ToolVer
call fcn.0040a29f
push 0x426444
lea eax, [ebp - 0x248]
push 0x429738
push eax
mov byte [ebp - 4], 6
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 7
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.AppName
call fcn.0040a29f
mov byte [ebp - 4], 8
lea eax, [ebp - 0x258]
push eax
call fcn.004010c5
call fcn.00401783
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x248]
push eax
call fcn.0041465e
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xa
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.AppVer
call fcn.0040a29f
mov byte [ebp - 4], 0xb
call fcn.004010c5
call fcn.004017c1
push eax
mov esi, 0x4269b0
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00410f4c
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0xc
call fcn.0040e579
mov edi, eax
mov eax, ebx
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ErrAdd
call fcn.0040a29f
mov byte [ebp - 4], 0xd
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x3c]
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ModuleName
call fcn.0040a29f
mov byte [ebp - 4], 0xf
call fcn.004010c5
lea edi, [ebp - 0x248]
mov ecx, eax
call fcn.004044e8
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x10
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.ModBaseAddr
call fcn.0040a29f
mov byte [ebp - 4], 0x11
call fcn.004010c5
lea esi, [ebp - 0x248]
call fcn.0040b944
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x12
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x250]
push eax
lea ebx, [ebp - 0x268]
lea edi, [ebp - 0x24c]
lea esi, [ebp - 0x248]
call fcn.00410e5f
pop ecx
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSID
call fcn.0040a29f
mov byte [ebp - 4], 0x13
push dword [ebp - 0x248]
mov ebx, 0x4269b0
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x14
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSMajVer
call fcn.0040a29f
mov byte [ebp - 4], 0x15
push dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x16
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSMinVer
call fcn.0040a29f
mov byte [ebp - 4], 0x17
push dword [ebp - 0x268]
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x18
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.OSBuildNo
call fcn.0040a29f
mov byte [ebp - 4], 0x19
push dword [ebp - 0x250]
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1a
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x429798
call fcn.0040a29f
mov byte [ebp - 4], 0x1b
call fcn.0040b986
call fcn.00417237
push eax
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1c
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x42979c
call fcn.0040a29f
mov byte [ebp - 4], 0x1d
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x1c]
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x1e
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.CrashInfo
call fcn.0040a29f
mov byte [ebp - 4], 0x1f
call fcn.004010c5
lea esi, [ebp - 0x250]
call fcn.0040b928
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x20
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, 0x4297ac
call fcn.0040a29f
push 4
mov esi, 0x4297b0
lea eax, [ebp - 0x268]
push esi
push eax
mov byte [ebp - 4], 0x21
call fcn.00410f4c
add esp, 0xc
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x22
call fcn.0040e579
mov edi, eax
mov eax, dword [ebp - 0x250]
call fcn.004045c2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.UserAction
call fcn.0040a29f
push 0
lea eax, [ebp - 0x250]
push esi
push eax
mov byte [ebp - 4], 0x23
call fcn.00410f4c
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x244]
push eax
mov ecx, str.LCID
call fcn.0040a29f
mov byte [ebp - 4], 0x25
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x2c]
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.00410f4c
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x26
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
xor eax, eax
cmp dword [0x432f88], eax
je 0x40d651
push 0x208
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call fcn.0041e5f8
add esp, 0xc
lea esi, [ebp - 0x224]
call fcn.00410ee2
test eax, eax
je 0x40d651
lea eax, [ebp - 0x244]
push eax
mov ecx, str.HostName
call fcn.0040a29f
mov eax, esi
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x27
call fcn.0041465e
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x28
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
mov eax, dword [0x432b20]
mov edi, 0x432b20
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov esi, 0x167
lea eax, [ebp - 0x250]
push esi
push eax
mov byte [ebp - 4], 0x29
call fcn.004010c5
call fcn.00403aa9
push dword [eax]
call dword [0x422468]
mov ebx, eax
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
test ebx, ebx
je 0x40d74b
mov eax, dword [0x432b20]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push ecx
mov byte [ebp - 4], 0x2a
mov eax, esp
mov dword [ebp - 0x250], esp
push esi
push eax
call fcn.004010c5
call fcn.00403aa9
lea ecx, [ebp - 0x24c]
call fcn.00411814
lea eax, [ebp - 0x268]
mov dword [esp], 0x4274a4
push eax
lea ecx, [ebp - 0x24c]
call fcn.004049e5
lea ecx, [ebp - 0x250]
push 0x4274b8
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x2b
call fcn.00404989
add esp, 0x10
lea edi, [ebp - 0x244]
mov byte [ebp - 4], 0x2c
call fcn.00404802
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
call main
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x244]
call fcn.0040577c
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], 0
je 0x40d82b
push eax
lea eax, [ebp - 0x24c]
push 0x200
push eax
call fcn.0041467e
add esp, 0xc
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.00404767
push eax
lea eax, [ebp - 0x248]
push eax
mov eax, edi
call fcn.00410c3a
pop ecx
pop ecx
mov byte [ebp - 4], 0x2e
mov esi, dword [ebp - 0x24c]
test esi, esi
jne 0x40d7bd
xor eax, eax
jmp 0x40d7c4
push esi
call fcn.0041e610
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404dea
lea eax, [ebp - 0x258]
push eax
mov ecx, str.UserDescription
call fcn.0040a29f
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x2f
call fcn.0040e579
mov edi, eax
lea eax, [ebp - 0x248]
call fcn.004045c2
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x29
call main
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x40d8f3
push eax
lea eax, [ebp - 0x24c]
push 0x32
push eax
call fcn.0041467e
add esp, 0xc
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.00404767
push eax
lea eax, [ebp - 0x258]
push eax
mov eax, edi
call fcn.00410c3a
pop ecx
pop ecx
mov byte [ebp - 4], 0x31
mov esi, dword [ebp - 0x24c]
test esi, esi
jne 0x40d885
xor eax, eax
jmp 0x40d88c
push esi
call fcn.0041e610
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404dea
lea eax, [ebp - 0x248]
push eax
mov ecx, str.Account
call fcn.0040a29f
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x32
call fcn.0040e579
mov edi, eax
lea eax, [ebp - 0x258]
call fcn.004045c2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call main
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x29
call main
cmp dword [ebp + 0x14], 0
je 0x40dad6
call fcn.004010c5
lea esi, [ebp - 0x250]
call fcn.0040b90c
mov byte [ebp - 4], 0x33
push dword [eax]
lea eax, [ebp - 0x24c]
push eax
call fcn.0041465e
pop ecx
pop ecx
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x248]
push eax
mov ecx, str.detail1
call fcn.0040a29f
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax - 0xc]
lea esi, [ebp - 0x24c]
call fcn.00404767
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, edi
call fcn.00410c3a
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x37
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call main
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
mov ebx, dword [ebp - 0x24c]
test ebx, ebx
jne 0x40d9bc
xor eax, eax
jmp 0x40d9c3
push ebx
call fcn.0041e610
pop ecx
lea edx, [ebp - 0x24c]
call fcn.00404dea
lea eax, [ebp - 0x240]
push 0x60
push eax
call fcn.004010c5
mov ecx, eax
call fcn.004033a7
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0x22c], 0x32000
jbe 0x40da35
lea ecx, [ebp - 0x240]
call dword [0x422240]
lea eax, [ebp - 0x290]
push 0x20
push eax
call fcn.004010c5
mov ecx, eax
call fcn.004033a7
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x39
call dword [0x422244]
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x38
call dword [0x422204]
cmp dword [ebp - 0x22c], 0
je 0x40daba
lea eax, [ebp - 0x248]
push eax
mov ecx, str.detail2
call fcn.0040a29f
mov byte [ebp - 4], 0x3a
cmp dword [ebp - 0x228], 0x10
mov eax, dword [ebp - 0x23c]
jae 0x40da68
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x22c]
call fcn.00410c3a
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x3b
call fcn.0040e579
mov edi, eax
mov eax, esi
call fcn.004045c2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call main
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
call main
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x35
call dword [0x422204]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x29
call main
mov esi, dword [ebp - 0x270]
and dword [ebp - 0x24c], 0
call fcn.004045ad
mov eax, dword [ebp - 0x260]
mov ebx, dword [eax]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x260]
lea edi, [ebp - 0x26c]
lea esi, [ebp - 0x254]
mov dword [ebp - 0x268], eax
call fcn.00405167
test al, al
jne 0x40dbbe
cmp dword [ebp - 0x24c], 0
je 0x40db50
push 0x4296b4
push dword [ebp - 0x270]
call fcn.0040e4f6
mov esi, dword [ebp - 0x254]
test esi, esi
jne 0x40db60
call dword [0x4222f0]
cmp ebx, dword [esi + 4]
jne 0x40db6b
call dword [0x4222f0]
push dword [ebx + 0xc]
push dword [ebp - 0x270]
call fcn.0040e4f6
push 0x4294ec
push dword [ebp - 0x270]
call fcn.0040e4f6
cmp ebx, dword [esi + 4]
jne 0x40db94
call dword [0x4222f0]
push dword [ebp - 0x270]
lea eax, [ebx + 0x10]
call fcn.00404629
inc dword [ebp - 0x24c]
lea esi, [ebp - 0x254]
call fcn.0040e680
mov ebx, dword [ebp - 0x250]
jmp 0x40db12
mov edi, dword [ebp - 0x270]
push dword [edi]
lea eax, [ebp - 0x250]
push eax
call fcn.004145c2
mov esi, dword [ebp - 0x250]
push esi
push str.cmd4_s
push 0x426474
call fcn.00414b27
add esp, 0x14
lea eax, [esi - 0x10]
call main
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call main
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.0040e928
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call main
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call main
mov eax, edi
call fcn.0041ef7e
ret 0x10