Function at 0x407ee0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [ecx + 0x14]
push ebx
mov ebx, dword [ecx + 0x10]
push esi
mov esi, dword [ecx + 0xc]
push edi
mov edi, edx
mov dword [ebp - 4], edx
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], eax
movzx eax, byte [edi + 2]
mov dword [ebp - 0x54], edx
movzx edx, byte [edi + 3]
shl edx, 8
or edx, eax
mov dword [ebp - 0x5c], ebx
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
mov dword [ebp - 0x58], esi
movzx eax, byte [edi]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x28]
xor eax, ebx
mov dword [ecx + 0x58], edx
movzx ebx, byte [edi + 7]
and eax, esi
xor eax, dword [ebp - 0x28]
add eax, edx
shl ebx, 8
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x20]
add edx, 0xd071e897
add edx, eax
movzx eax, byte [edi + 6]
or ebx, eax
rol edx, 7
movzx eax, byte [edi + 5]
add edx, esi
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 4]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x24]
xor eax, esi
mov dword [ecx + 0x5c], ebx
mov esi, dword [ebp - 0x28]
and eax, edx
xor eax, dword [ebp - 0x24]
add esi, 0xc1f7e0ff
add eax, ebx
mov dword [ebp - 0x3c], ebx
movzx ebx, byte [edi + 0xb]
add esi, eax
movzx eax, byte [edi + 0xa]
shl ebx, 8
or ebx, eax
rol esi, 0xc
movzx eax, byte [edi + 9]
add esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 8]
mov edi, dword [ebp - 0x24]
shl ebx, 8
add edi, 0xf8c51639
or ebx, eax
mov eax, dword [ebp - 0x40]
xor eax, edx
mov dword [ecx + 0x60], ebx
and eax, esi
mov dword [ebp - 0x44], ebx
xor eax, dword [ebp - 0x40]
add eax, ebx
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
movzx ebx, byte [eax + 0xf]
movzx eax, byte [eax + 0xe]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0xd]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0xc]
or ebx, eax
mov eax, esi
xor eax, edx
mov dword [ecx + 0x64], ebx
and eax, edi
mov dword [ebp - 0x38], ebx
xor eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x40]
add ebx, 0x541fac75
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xa
add ebx, edi
movzx eax, byte [eax + 0x13]
shl eax, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x12]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x20], 8
movzx eax, byte [eax + 0x11]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x20], 8
movzx eax, byte [eax + 0x10]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x68], eax
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x60af41d8
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add edx, ebx
movzx eax, byte [eax + 0x17]
shl eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x15]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x14]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov eax, edi
xor eax, ebx
and eax, edx
xor eax, edi
add eax, 0x21f7879d
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0xc
add esi, edx
movzx eax, byte [eax + 0x1b]
shl eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1a]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x1c], 8
movzx eax, byte [eax + 0x19]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x1c], 8
movzx eax, byte [eax + 0x18]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add eax, 0xe99a9ecb
add eax, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
movzx eax, byte [eax + 0x1f]
shl eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1e]
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 8], 8
movzx eax, byte [eax + 0x1d]
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 8], 8
movzx eax, byte [eax + 0x1c]
or dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x74], eax
mov eax, esi
xor eax, edx
and eax, edi
xor eax, edx
add eax, 0xfcd0de55
add eax, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xa
add ebx, edi
movzx eax, byte [eax + 0x23]
shl eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x14], 8
movzx eax, byte [eax + 0x21]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x14], 8
movzx eax, byte [eax + 0x20]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x78], eax
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x76af3c27
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add edx, ebx
mov dword [ebp - 0x48], edx
movzx eax, byte [eax + 0x27]
shl eax, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x26]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x28], 8
movzx eax, byte [eax + 0x25]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x28], 8
movzx eax, byte [eax + 0x24]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x7c], eax
mov eax, edi
xor eax, ebx
and eax, edx
xor eax, edi
add eax, 0xb6cfe430
add eax, dword [ebp - 0x28]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0xc
add esi, edx
mov dword [ebp - 0x30], esi
movzx eax, byte [eax + 0x2b]
shl eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2a]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x10], 8
movzx eax, byte [eax + 0x29]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x10], 8
movzx eax, byte [eax + 0x28]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x80], eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add eax, 0x253e15dd
add eax, dword [ebp - 0x10]
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
mov dword [ebp - 0x18], edi
movzx eax, byte [eax + 0x2f]
shl eax, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x24], 8
movzx eax, byte [eax + 0x2d]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x24], 8
movzx eax, byte [eax + 0x2c]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x84], eax
mov eax, esi
xor eax, edx
and eax, edi
xor eax, edx
lea edx, [ebx - 0x2ab7fbc]
add eax, dword [ebp - 0x24]
add edx, eax
mov eax, dword [ebp - 4]
ror edx, 0xa
add edx, edi
movzx ebx, byte [eax + 0x33]
movzx eax, byte [eax + 0x32]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x31]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x30]
or ebx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x34], ebx
mov dword [ecx + 0x88], ebx
and eax, edx
xor eax, esi
mov esi, dword [ebp - 0x48]
add eax, ebx
add esi, 0x6c9de06b
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 7
add esi, edx
movzx ebx, byte [eax + 0x37]
movzx eax, byte [eax + 0x36]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x35]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x34]
or ebx, eax
mov eax, edi
xor eax, edx
mov dword [ecx + 0x8c], ebx
and eax, esi
mov dword [ebp - 0x40], ebx
xor eax, edi
mov edi, dword [ebp - 0x30]
add eax, ebx
add edi, 0x20327c52
add edi, eax
mov eax, dword [ebp - 4]
rol edi, 0xc
add edi, esi
movzx ebx, byte [eax + 0x3b]
movzx eax, byte [eax + 0x3a]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x39]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x38]
or ebx, eax
mov eax, edx
xor eax, esi
mov dword [ecx + 0x90], ebx
and eax, edi
mov dword [ebp - 0x30], ebx
xor eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x18]
add ebx, 0xbc4b3f28
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xf
add ebx, edi
movzx eax, byte [eax + 0x3f]
shl eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x3e]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x18], 8
movzx eax, byte [eax + 0x3d]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x18], 8
movzx eax, byte [eax + 0x3c]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x94], eax
mov eax, edi
xor eax, esi
and eax, ebx
xor eax, esi
add eax, 0x29961806
add eax, dword [ebp - 0x18]
add edx, eax
ror edx, 0xa
mov eax, ebx
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0x16e8b7ab
add eax, dword [ebp - 0x3c]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0x610fb361
add eax, dword [ebp - 0x1c]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x6ef69bbd
add eax, dword [ebp - 0x24]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0x9abbf17d
add eax, dword [ebp - 0x2c]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xe03dc54
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0x403cbd81
add eax, dword [ebp - 0x10]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x7a90d80b
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0x62245ec2
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xf41faa5a
add eax, dword [ebp - 0x28]
add esi, eax
rol esi, 5
mov eax, edx
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0xac01179e
add eax, dword [ebp - 0x30]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
mov dword [ebp - 0x4c], edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xde2507e5
add eax, dword [ebp - 0x38]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0xc3ab4bc
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
mov dword [ebp - 0x48], edx
and eax, edi
lea edi, [esi - 0x51ca9a82]
xor eax, ebx
mov esi, dword [ebp - 0x4c]
add eax, dword [ebp - 0x40]
add esi, 0x37db1650
add edi, eax
mov eax, edx
rol edi, 5
add edi, edx
xor eax, edi
and eax, ebx
xor eax, edx
add eax, dword [ebp - 0x44]
add esi, eax
rol esi, 9
add esi, edi
mov eax, esi
mov dword [ebp - 0x4c], esi
xor eax, edi
and eax, edx
mov edx, esi
xor eax, edi
add eax, 0x6f3efc2a
add eax, dword [ebp - 8]
add ebx, eax
rol ebx, 0xe
add ebx, esi
xor edx, ebx
mov dword [ebp - 0x50], ebx
mov eax, edx
and eax, edi
xor eax, esi
mov esi, dword [ebp - 0x48]
add eax, dword [ebp - 0x34]
add esi, 0x9da8f77d
add esi, eax
mov eax, ebx
ror esi, 0xc
add esi, ebx
xor edx, esi
xor eax, esi
add edx, 0x3a76237b
add edx, dword [ebp - 0xc]
add edi, edx
rol edi, 4
add edi, esi
xor eax, edi
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add ebx, 0xe117f64f
add ebx, eax
add edx, 0x77403024
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
add esi, 0x6df93ad9
xor eax, edi
add eax, dword [ebp - 0x24]
add eax, edx
mov edx, ebx
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, edx
xor eax, edi
add edi, 0x7f3f0514
add eax, dword [ebp - 0x30]
add eax, esi
mov esi, dword [ebp - 0x50]
ror eax, 9
add eax, esi
xor edx, eax
mov dword [ebp - 0x50], eax
add edx, dword [ebp - 0x3c]
add edx, edi
mov edi, dword [ebp - 0x50]
rol edx, 4
add edx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x4c], edx
xor eax, edx
add esi, 0x3bc3cd55
add eax, 0x1a770faa
add eax, dword [ebp - 0x20]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, edi
add edi, 0x4cd4538
xor eax, edx
mov edx, ebx
add eax, dword [ebp - 8]
add eax, esi
mov esi, dword [ebp - 0x4c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, edx
xor eax, esi
add esi, 0x6095b5ea
add eax, dword [ebp - 0x10]
add eax, edi
mov edi, dword [ebp - 0x50]
ror eax, 9
add eax, edi
xor edx, eax
mov dword [ebp - 0x50], eax
add edx, dword [ebp - 0x40]
add edx, esi
mov esi, dword [ebp - 0x50]
rol edx, 4
add edx, eax
mov eax, edi
xor eax, esi
mov dword [ebp - 0x4c], edx
xor eax, edx
add eax, 0x82d5168e
add eax, dword [ebp - 0x2c]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, esi
add edi, 0x61b643ab
xor eax, edx
add esi, 0x6a7ae98f
add eax, dword [ebp - 0x38]
mov edx, ebx
add eax, edi
mov edi, dword [ebp - 0x4c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x48], eax
mov eax, edx
xor eax, edi
add edi, 0xe26d873c
add eax, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [ebp - 0x48]
ror esi, 9
add esi, eax
xor eax, esi
xor edx, esi
add edx, dword [ebp - 0x28]
add edi, edx
mov edx, dword [ebp - 0x48]
rol edi, 4
add edx, 0x67fb10d4
add edi, esi
xor eax, edi
add eax, 0xf9ddc3cc
add eax, dword [ebp - 0x34]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x18]
add edx, eax
mov eax, ebx
rol edx, 0x10
add edx, ebx
xor eax, edx
xor eax, edi
add eax, 0x29813cd2
add eax, dword [ebp - 0x44]
add esi, eax
mov eax, ebx
not eax
ror esi, 9
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xc7317a1c
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xe1695e65
add eax, dword [ebp - 8]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0x926423f5
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, edi
rol edx, 0xf
not eax
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x11663141
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x333e51f7
add eax, dword [ebp - 0x34]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x824154a0
add eax, dword [ebp - 0x38]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0x95a25754
add eax, dword [ebp - 0x10]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x19b57f3b
add eax, dword [ebp - 0x3c]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x86d819fc
add eax, dword [ebp - 0x14]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x865008a
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0x60baeb58
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x2a54cf1e
add eax, dword [ebp - 0x40]
add esi, eax
mov eax, ebx
ror esi, 0xb
not eax
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xb887cd01
add eax, dword [ebp - 0x20]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
mov dword [ebp - 0x20], edi
xor eax, esi
lea edi, [ebx + 0x7cbf495d]
add eax, dword [ebp - 0x24]
lea ebx, [edx - 0x3b76471f]
mov edx, dword [ebp - 0x20]
add edi, eax
rol edi, 0xa
mov eax, esi
add edi, dword [ebp - 0x20]
not eax
or eax, edi
xor eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x44]
add ebx, eax
mov eax, edx
add edx, dword [ebp - 0x54]
not eax
rol ebx, 0xf
add ebx, edi
mov dword [ebp - 0x20], edx
or eax, ebx
xor eax, edi
add edi, dword [ebp - 0x60]
add eax, 0x8df10c80
add eax, dword [ebp - 0x28]
add esi, eax
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
add edi, 0x40
ror esi, 0xb
add esi, ebx
mov dword [ebp - 4], edi
add esi, dword [ebp - 0x58]
add ebx, dword [ebp - 0x5c]
sub dword [ebp + 8], 0x40
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ebx
jne 0x407f06
mov dword [ecx + 0x14], eax
mov eax, edi
pop edi
mov dword [ecx + 0xc], esi
pop esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 8], edx
pop ebx
mov esp, ebp
pop ebp
ret