Function at 0x419120
Capabilities:
Extract resource via kernel32 functions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], esi
call fcn.00470b30
push 0x5801e0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0045adf0
mov edi, dword [esi + 0xd8]
xor eax, eax
cmp edi, 2
lea ecx, [ebp - 0xe0]
sete al
mov dword [ebp - 0x38], eax
call fcn.00470b30
mov ecx, dword [ebp + 0x1c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00470b50
mov ebx, eax
test ebx, ebx
jne 0x4191d6
mov esi, 0x5477b0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], al
mov dword [ebp - 0xe0], esi
call fcn.00470d30
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], esi
call fcn.00470d30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x20]
mov edx, ecx
mov edi, ebx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
cdq
sub eax, edx
and ecx, 3
sar eax, 1
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41924d
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0x1c]
sub eax, esi
sub eax, edi
test eax, eax
jle 0x419227
lea edx, [esi + edi]
lea ecx, [edi + ebx]
push eax
add edx, ebx
push ecx
push edx
call fcn.004ff740
add esp, 0xc
mov ecx, esi
xor eax, eax
mov edx, ecx
add edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add ecx, 8
dec eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], eax
jne 0x419201
mov eax, dword [ebp - 0x38]
mov word [ebx], 0x5a4d
test eax, eax
jne 0x4193c1
jmp 0x419260
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x1f0]
test eax, eax
je 0x41929e
test eax, eax
mov dword [ebp - 0x54], 0
jne 0x419289
xor edi, edi
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.004713f0
jmp 0x419361
mov edi, dword [edi + 0x1e8]
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.004713f0
jmp 0x419361
mov eax, dword [0x58c8d8]
lea esi, [edi + 0x304]
push 0
push 0
push eax
mov ecx, esi
call fcn.004c4700
test eax, eax
je 0x419361
lea ecx, [ebp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call fcn.004d0460
cmp eax, 1
jne 0x419361
mov edx, dword [ebp + 0x1c]
push 0
push 0
lea ecx, [edx + 0x14]
call fcn.004cfc50
mov esi, eax
test esi, esi
je 0x419361
mov eax, dword [esi]
push 0
push eax
lea ecx, [edi + 0xc0]
call fcn.0044e840
mov edi, eax
test edi, edi
je 0x419361
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push ecx
push esi
lea ecx, [edx + 0x14]
call fcn.004d06a0
mov esi, eax
test esi, esi
je 0x419361
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x419361
push 7
call dword [edi + 0x2c]
test eax, eax
je 0x419361
mov ecx, dword [ebp + 0x18]
push ecx
push esi
call eax
mov esi, eax
test esi, esi
je 0x419361
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
call fcn.004713f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x419384
cmp eax, 0x16
jbe 0x419384
mov eax, dword [ebp - 0x5c]
cmp word [eax], 0
jne 0x419384
cmp word [eax + 2], 1
jne 0x419384
cmp word [eax + 4], 0
ja 0x4193c1
push 0xa
push 0x228
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.004713f0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
and eax, 0x80000007
jns 0x4193d3
dec eax
or eax, 0xfffffff8
inc eax
je 0x4193e4
mov edx, 8
sub edx, eax
push edx
push 0
call fcn.004713f0
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
push eax
push ebx
mov ecx, esi
call fcn.004713f0
mov ecx, dword [ebx + 0x3c]
push 0x4550
add ebx, ecx
mov ecx, esi
call fcn.00470df0
mov ax, word [ebx + 6]
add ebx, 4
mov ecx, eax
add eax, 2
and ecx, 0xffff
push 0x14
mov dword [ebp + 0x20], ecx
push ebx
mov ecx, esi
mov dword [ebx + 4], 0x59bffa3
mov word [ebx + 2], ax
call fcn.004713f0
mov eax, dword [ebp - 0x10]
lea edi, [ebx + 0x14]
xor ecx, ecx
mov dword [ebp - 0x78], edi
mov cx, word [ebx + 0x10]
mov byte [edi + 2], 4
mov byte [edi + 3], 0
mov dx, word [eax + 0x124]
mov ebx, ecx
mov word [edi + 0x2c], dx
mov cx, word [eax + 0x128]
add ebx, edi
mov word [edi + 0x2e], cx
lea ecx, [eax + 0xc0]
mov dword [edi + 0x40], 0
call fcn.00453440
test eax, eax
je 0x419481
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xd8], 1
jne 0x419487
mov word [edi + 0x44], 3
mov eax, dword [esi + 0x10]
push 0xe0
push edi
mov ecx, esi
mov dword [ebp - 0xe4], eax
call fcn.004713f0
mov eax, dword [ebp + 0x20]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x34], ecx
mov ecx, esi
lea eax, [eax + eax*4]
shl eax, 3
push eax
push ebx
mov dword [ebp - 0x3c], eax
call fcn.004713f0
push 0x50
push 0
mov ecx, esi
call fcn.004713f0
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x24]
xor edx, edx
mov dword [ebp + 0x18], eax
div ecx
test edx, edx
je 0x4194ee
sub ecx, edx
mov dword [ebp + 0x1c], ecx
push ecx
push 0
mov ecx, esi
call fcn.004713f0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add eax, edx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x41952f
add ebx, 0x14
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebx]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx - 4]
add edx, eax
push ecx
push edx
mov ecx, esi
call fcn.004713f0
mov eax, dword [ebp + 0x1c]
add ebx, 0x28
dec eax
mov dword [ebp + 0x1c], eax
jne 0x419501
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, eax
sub ecx, edx
test eax, eax
mov dword [ebp - 0x90], ecx
je 0x419546
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x34]
mov dword [ebp + 0x1c], 0
add eax, ecx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [ebp + 0x24], eax
jle 0x419588
mov ebx, dword [ebp + 0x14]
add eax, 0x10
mov dword [ebp - 0x18], ecx
mov dword [eax + 4], ebx
mov ecx, dword [eax]
mov edx, dword [eax - 4]
add edx, ecx
cmp edx, dword [ebp + 0x1c]
jbe 0x419577
mov dword [ebp + 0x1c], edx
add ebx, ecx
mov ecx, dword [ebp - 0x18]
add eax, 0x28
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x419565
mov dword [ebp + 0x14], ebx
mov edi, dword [edi + 0x20]
mov eax, dword [ebp + 0x1c]
xor edx, edx
div edi
test edx, edx
je 0x4195a0
mov eax, dword [ebp + 0x1c]
sub edi, edx
add eax, edi
mov dword [ebp + 0x1c], eax
lea ecx, [ebp - 0xf8]
call fcn.00470b30
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 2
test eax, eax
je 0x4196a5
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], 0xffffffff
mov ebx, dword [eax + 0x10]
mov eax, dword [esi + 0x10]
shr ebx, 2
test eax, eax
jne 0x4195d5
xor esi, esi
jmp 0x4195d8
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp + 0x18]
add ecx, 0xfffffffc
xor eax, eax
test ecx, ecx
lea edx, [esi + edi]
jle 0x419604
cmp dword [edx + eax], 0x86543210
je 0x4195fd
inc eax
cmp eax, ecx
jl 0x4195ed
jmp 0x419604
lea edx, [edi + eax + 4]
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x419644
mov eax, dword [ebp + 0x24]
lea edx, [eax + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x18]
cmp edi, eax
jle 0x419626
mov edi, eax
add edi, dword [edx]
cmp dword [ebp - 0x18], edi
jl 0x419630
inc ecx
add edx, 0x28
cmp ecx, esi
jl 0x419613
jmp 0x419644
mov edx, dword [ebp + 0x24]
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*8 + 0xc]
sub ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
xor esi, esi
mov edi, dword [eax + 0x10]
add edi, ecx
test ebx, ebx
jle 0x4196a8
push edi
lea ecx, [ebp - 0xf8]
call fcn.00470df0
mov ecx, dword [ebp + 8]
push 0xb8
call fcn.00470e70
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + esi*4]
push eax
call fcn.00470df0
mov ecx, dword [ebp + 8]
push 0xe9
call fcn.00470e70
mov ecx, dword [ebp + 0x24]
add edi, 0xa
sub ecx, edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.00470df0
inc esi
cmp esi, ebx
jl 0x419655
jmp 0x4196a8
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp + 8]
mov ecx, dword [edx + 0x24]
mov eax, dword [esi + 0x10]
xor edx, edx
div ecx
test edx, edx
je 0x4196c8
sub ecx, edx
push ecx
push 0
mov ecx, esi
call fcn.004713f0
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4196d6
xor esi, esi
jmp 0x4196d9
mov esi, dword [esi + 8]
push eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.004713f0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4196f0
xor eax, eax
jmp 0x4196f3
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
add eax, ecx
mov edi, str..data
mov dword [ebp + 0x24], eax
add edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 0x2c], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], esi
mov edx, dword [ebp - 0x78]
add esi, ecx
add eax, ecx
mov ecx, dword [edx + 0x20]
xor edx, edx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x14], esi
div ecx
test edx, edx
je 0x419762
mov eax, dword [ebp + 0x1c]
sub ecx, edx
add eax, ecx
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x24], 0xe0000040
call fcn.00470b30
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
test eax, eax
jne 0x419b9d
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
neg esi
sbb esi, esi
and esi, ecx
lea ecx, [ebp - 0xa4]
call fcn.00470b30
mov dword [ebp - 0xa4], 0x5478f0
xor ebx, ebx
mov byte [ebp - 4], 4
mov bx, word [esi + 4]
test ebx, ebx
jle 0x4197c9
add esi, 6
mov edi, ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00470df0
add esi, 0x10
dec edi
jne 0x4197b7
mov esi, dword [0x591e0c]
mov dword [ebp + 8], esi
call 0x4197d7
add dword [esp], 6
ret
mov ecx, dword [ebp + 0x1c]
xor eax, eax
lea edi, [ebp - 0xcc]
lea esi, [ecx + 0x28]
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + ebx*4]
lea edi, [ebx*4]
mov dword [ebp - 0xc8], 0x3925136b
mov dx, word [eax + 0x124]
mov ax, word [eax + 0x128]
mov word [ebp - 0xc4], dx
lea edx, [esi + ecx*2]
lea ecx, [esi + ebx*8]
mov word [ebp - 0xc2], ax
lea eax, [edi + esi]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xac], eax
mov eax, ecx
mov dword [ebp - 0xc0], edx
mov edx, dword [ebp - 0xf0]
push ecx
neg eax
sbb eax, eax
lea ecx, [ebp - 0x2c]
and eax, edx
mov dword [ebp - 0xbc], 1
push eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb0], esi
call fcn.004713f0
mov edx, dword [ebp - 0x1c]
push edi
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
call fcn.004713f0
xor edi, edi
test ebx, ebx
jle 0x419c5f
push edi
lea ecx, [ebp - 0x2c]
call fcn.00470e30
inc edi
cmp edi, ebx
jl 0x419c51
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0xfc]
push eax
call fcn.00470ea0
lea ecx, [ebp - 0xa4]
call fcn.00470b30
xor edi, edi
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x419cce
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b0
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
add edx, esi
push edx
call fcn.00470df0
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0x40]
push 0
push edx
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + 8]
push eax
call fcn.004d0460
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push eax
call fcn.00470ea0
inc edi
cmp edi, ebx
jl 0x419c92
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
mov esi, ecx
mov edi, dword [ebp - 0x24]
neg esi
sbb esi, esi
mov edx, dword [ebp - 0x3c]
and esi, eax
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
push 0x28
and eax, edi
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xcc]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00471350
mov byte [ebp - 4], 3
mov dword [ebp - 0xa4], 0x5477b0
lea ecx, [ebp - 0xa4]
call fcn.00470d30
mov eax, dword [ebp - 0x1c]
mov edi, eax
and eax, 0x80000007
mov dword [ebp + 8], edi
jns 0x419d42
dec eax
or eax, 0xfffffff8
inc eax
je 0x419d5b
mov esi, 8
lea ecx, [ebp - 0x2c]
sub esi, eax
push esi
push 0
call fcn.004713f0
add edi, esi
mov dword [ebp + 8], edi
mov edx, dword [ebp - 0x78]
mov eax, edi
mov ecx, dword [edx + 0x24]
xor edx, edx
div ecx
test edx, edx
je 0x419d78
sub ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.004713f0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 0x38]
test eax, eax
lea ebx, [ecx + 0x28]
mov edi, str..data
jne 0x419d95
mov edi, str..rsrc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x24], 0x40000040
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x419ddf
xor ecx, ecx
jmp 0x419de2
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0xe4]
mov edi, dword [edx + ecx + 0x20]
lea esi, [edx + ecx]
mov ecx, dword [ebp + 0x28]
xor edx, edx
add ecx, eax
mov eax, ecx
mov dword [esi + 0x38], ecx
div edi
test edx, edx
je 0x419e08
sub edi, edx
add edi, ecx
mov dword [esi + 0x38], edi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 8]
add eax, edx
add ecx, eax
mov eax, dword [ebp - 0x38]
neg eax
sbb eax, eax
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0xc]
and al, 0xfe
add eax, 2
mov dword [esi + eax*8 + 0x60], ecx
mov edx, dword [ebx + 8]
mov dword [esi + eax*8 + 0x64], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
test eax, eax
mov dword [esi + 0x3c], edx
je 0x419ee3
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0xffffffff
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x419e58
xor eax, eax
jmp 0x419e5b
mov eax, dword [eax + 8]
lea esi, [edx + eax]
mov eax, dword [ebp - 0x90]
lea ecx, [eax - 4]
xor eax, eax
test ecx, ecx
jle 0x419e9a
mov bl, 0x24
cmp dword [esi], 0x12345678
jne 0x419e8d
cmp eax, 3
jle 0x419e8d
cmp byte [esi - 3], 0x81
jne 0x419e8d
cmp byte [esi - 2], 4
jne 0x419e8d
cmp byte [esi - 1], bl
je 0x419e95
inc esi
inc eax
cmp eax, ecx
jl 0x419e6f
jmp 0x419e9a
add edx, eax
mov dword [ebp + 8], edx
mov edi, dword [ebp + 0x20]
xor eax, eax
test edi, edi
jle 0x419ee3
mov ecx, dword [ebp + 0x24]
lea edx, [ecx + 0x10]
mov ecx, dword [edx + 4]
mov ebx, dword [ebp + 8]
cmp ebx, ecx
jle 0x419ebc
mov ebx, dword [edx]
add ebx, ecx
cmp dword [ebp + 8], ebx
jl 0x419ec6
inc eax
add edx, 0x28
cmp eax, edi
jl 0x419ea9
jmp 0x419ee3
mov edi, dword [ebp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [edi + edx*8 + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub eax, ebx
sub eax, edx
lea ecx, [eax + ecx + 3]
mov dword [esi], ecx
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0xc]
neg eax
sbb eax, eax
push edx
and eax, edi
push eax
call fcn.004713f0
mov esi, 0x5477b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.00470d30
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
mov dword [ebp - 0xf8], esi
call fcn.00470d30
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
mov dword [ebp - 0xe0], esi
call fcn.00470d30
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], esi
call fcn.00470d30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x2c